diff --git a/js-packages/web-console/src/lib/components/pipelines/list/Actions.svelte b/js-packages/web-console/src/lib/components/pipelines/list/Actions.svelte index 448a2251f97..9d7e9af1d40 100644 --- a/js-packages/web-console/src/lib/components/pipelines/list/Actions.svelte +++ b/js-packages/web-console/src/lib/components/pipelines/list/Actions.svelte @@ -125,7 +125,6 @@ groups related actions into multi-action dropdowns when multiple options are ava _stop, _multiStop, _multiStart, - _duplicate, _more, _spacer_short, _spacer_long, @@ -309,7 +308,7 @@ groups related actions into multi-action dropdowns when multiple options are ava const active = $derived.by(() => { const rawActions = getRawActions(pipeline.current.status) // Group actions into dropdowns - return [...processActionsForDropdowns(rawActions), '_duplicate' as const] + return processActionsForDropdowns(rawActions) }) function processActionsForDropdowns( @@ -673,6 +672,18 @@ groups related actions into multi-action dropdowns when multiple options are ava transition:slide={{ duration: 100 }} class="bg-white-dark absolute right-0 z-30 mt-2 flex w-44 flex-col justify-stretch rounded shadow-md" > + - - {#if unsavedChanges} - Save the program before duplicating. - {:else} - {duplicatePipelineTooltip} - {/if} - -{/snippet} {#snippet start({ text, action,