{ updateHandler(); }} >
{#if PIPELINES_LIST !== null}
{$i18n.t('Manage Pipelines')}
{#if PIPELINES_LIST.length > 0}
{ await tick(); await setPipelines(); }} >
{$i18n.t('Select a pipeline url')}
{#each PIPELINES_LIST as pipelines, idx}
{pipelines.url}
{/each}
{$i18n.t('Install from Github URL')}
{ addPipelineHandler(); }} disabled={downloading} type="button" > {#if downloading}
{:else}
{/if}
{#if pipelines !== null} {#if pipelines.length > 0}
{$i18n.t('Pipelines Valves')}
{#if pipelines.length > 0}
{ await tick(); await getValves(selectedPipelineIdx); }} > {#each pipelines as pipeline, idx}
{pipeline.name} ({pipeline.type ?? 'pipe'})
{/each}
{ deletePipelineHandler(); }} type="button" >
{/if}
{#if pipelines[selectedPipelineIdx].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.length === 0}
Pipelines Not Detected
{/if} {:else}
{/if} {/if} {:else}
{/if}
Save