Skip to content

Commit 82b9518

Browse files
committed
Update base-navigation-item.tsx
1 parent e12899d commit 82b9518

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/compass-connections-navigation/src/base-navigation-item.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,11 @@ const ClusterStateBadge: React.FunctionComponent<{
9898
}> = ({ state }) => {
9999
const badgeVariant =
100100
state === 'CREATING' ? BadgeVariant.Blue : BadgeVariant.LightGray;
101+
const badgeText = state === 'DELETING' ? 'TERMINATING' : state;
101102

102103
return (
103104
<Badge variant={badgeVariant} data-testid="navigation-item-state-badge">
104-
{state}
105+
{badgeText}
105106
</Badge>
106107
);
107108
};

0 commit comments

Comments
 (0)