From e6112da5d19ec54dcf2e0cadea5f10c2f5158e05 Mon Sep 17 00:00:00 2001 From: akuitybot <105087302+akuitybot@users.noreply.github.com> Date: Fri, 6 Sep 2024 14:54:11 -0700 Subject: [PATCH] chore(backport release-0.8): fix(ui): promote downstream subs in control flow stages was broken (#2498) Co-authored-by: Remington Breeze --- ui/src/features/project/pipelines/pipelines.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ui/src/features/project/pipelines/pipelines.tsx b/ui/src/features/project/pipelines/pipelines.tsx index 857c9b1bd..83b995211 100644 --- a/ui/src/features/project/pipelines/pipelines.tsx +++ b/ui/src/features/project/pipelines/pipelines.tsx @@ -389,14 +389,7 @@ export const Pipelines = () => { setSelectedWarehouse(''); } else { const stageName = node.data?.metadata?.name || ''; - // default to current freight when promoting subscribers - state.select( - type, - stageName, - type === FreightTimelineAction.PromoteSubscribers - ? currentFreight[0].name - : undefined - ); + state.select(type, stageName, undefined); } }} action={