diff --git a/ui/src/features/freightline/freightline.tsx b/ui/src/features/freightline/freightline.tsx
index cdb3dafc4..01473ff2e 100644
--- a/ui/src/features/freightline/freightline.tsx
+++ b/ui/src/features/freightline/freightline.tsx
@@ -288,8 +288,8 @@ const FreightItem = (props: {
return (
0 && !promoting ? 'w-32 border-gray-500' : ''
- }`}
+ (stages || []).length > 0 && !confirmingPromotion ? 'w-32' : ''
+ } ${!promoting && (stages || []).length > 0 ? 'border-gray-500' : ''}`}
onClick={() => {
if (promoting) {
if (promotable) {
@@ -301,7 +301,7 @@ const FreightItem = (props: {
}}
>
- {!promoting && }
+
0 && !promoting) || (promoting && promotable) || false