From c147f0ecee3496c3e12841af04fb3dc1fa09876c Mon Sep 17 00:00:00 2001 From: Remington Breeze Date: Mon, 6 May 2024 14:28:46 -0700 Subject: [PATCH] fix(ui): freightline contents background renders text unreadable Signed-off-by: Remington Breeze --- ui/src/features/freightline/freight-contents.tsx | 2 +- ui/src/features/project/pipelines/pipelines.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/features/freightline/freight-contents.tsx b/ui/src/features/freightline/freight-contents.tsx index 9ad2d928f..4d169052e 100644 --- a/ui/src/features/freightline/freight-contents.tsx +++ b/ui/src/features/freightline/freight-contents.tsx @@ -16,7 +16,7 @@ export const FreightContents = (props: { freight?: Freight; highlighted: boolean } & React.PropsWithChildren ) => ( diff --git a/ui/src/features/project/pipelines/pipelines.tsx b/ui/src/features/project/pipelines/pipelines.tsx index 3428bbad5..c6f8bb585 100644 --- a/ui/src/features/project/pipelines/pipelines.tsx +++ b/ui/src/features/project/pipelines/pipelines.tsx @@ -833,7 +833,7 @@ export const Pipelines = () => { fullFreightById[node.data?.status?.currentFreight?.name || ''] } hasNoSubscribers={ - (subscribersByStage[node?.data?.metadata?.name || ''] || []).length <= 0 + (subscribersByStage[node?.data?.metadata?.name || ''] || []).length <= 1 } onPromoteClick={(type: FreightlineAction) => { if (promotingStage?.metadata?.name === node.data?.metadata?.name) {