Skip to content

Commit

Permalink
chore(flags): hide flag status indicator when status in inactive (#26883
Browse files Browse the repository at this point in the history
)
  • Loading branch information
havenbarnes authored Dec 12, 2024
1 parent dfa9fa8 commit ac24c1f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ac24c1f

Please sign in to comment.