From 43f4906e077e6a5f87145204020f92bc235b4873 Mon Sep 17 00:00:00 2001 From: Haven Barnes Date: Thu, 12 Dec 2024 13:01:10 -0800 Subject: [PATCH] chore(flags): hide flag status indicator when status in inactive --- .../scenes/feature-flags/FeatureFlagStatusIndicator.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/scenes/feature-flags/FeatureFlagStatusIndicator.tsx b/frontend/src/scenes/feature-flags/FeatureFlagStatusIndicator.tsx index ecaee93c121e3..7b2ee5fc7fa14 100644 --- a/frontend/src/scenes/feature-flags/FeatureFlagStatusIndicator.tsx +++ b/frontend/src/scenes/feature-flags/FeatureFlagStatusIndicator.tsx @@ -10,7 +10,12 @@ export function FeatureFlagStatusIndicator({ }): JSX.Element | null { if ( !flagStatus || - [FeatureFlagStatus.ACTIVE, FeatureFlagStatus.DELETED, FeatureFlagStatus.UNKNOWN].includes(flagStatus.status) + [ + FeatureFlagStatus.ACTIVE, + FeatureFlagStatus.INACTIVE, + FeatureFlagStatus.DELETED, + FeatureFlagStatus.UNKNOWN, + ].includes(flagStatus.status) ) { return null }