{ updateHandler(); }} >
{#if pipelines !== null && pipelines.length > 0}
{$i18n.t('Pipelines')}
{#if pipelines.length > 0}
{ await tick(); valves_spec = await getPipelineValvesSpec( localStorage.token, pipelines[selectedPipelineIdx].id ); valves = await getPipelineValves( localStorage.token, pipelines[selectedPipelineIdx].id ); }} > {#each pipelines as pipeline, idx}
{pipeline.name} ({pipeline.pipeline.type ?? 'pipe'})
{/each}
{/if}
{$i18n.t('Valves')}
{#if pipelines[selectedPipelineIdx].pipeline.valves} {#if valves} {#each Object.keys(valves_spec.properties) as property, idx}
{valves_spec.properties[property].title}
{ valves[property] = (valves[property] ?? null) === null ? '' : null; }} > {#if (valves[property] ?? null) === null}
{$i18n.t('None')}
{:else}
{$i18n.t('Custom')}
{/if}
{#if (valves[property] ?? null) !== null}
{/if}
{/each} {:else}
{/if} {:else}
No valves
{/if}
{:else if pipelines !== null && pipelines.length === 0}
Pipelines Not Detected
{:else}
{/if}
Save