Skip to content

Commit

Permalink
Update roundel in EnabledCell for disabled badge (#2399)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliepark authored Aug 27, 2024
1 parent 7712765 commit 267b935
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/table/cells/EnabledCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Copyright Oxide Computer Company
*/
import type { VpcFirewallRuleStatus } from '@oxide/api'
import { Success12Icon } from '@oxide/design-system/icons/react'
import { Disabled12Icon, Success12Icon } from '@oxide/design-system/icons/react'

import { Badge } from '~/ui/lib/Badge'

Expand All @@ -18,7 +18,7 @@ export const EnabledCell = ({ value }: { value: VpcFirewallRuleStatus }) =>
</>
) : (
<>
<Success12Icon className="mr-1 text-notice" />
<Disabled12Icon className="mr-1 text-notice" />
<Badge color="notice">Disabled</Badge>
</>
)

0 comments on commit 267b935

Please sign in to comment.