Skip to content

Commit

Permalink
fix: add font color
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Feb 27, 2024
1 parent da60dc1 commit 9db9634
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion apps/web/src/components/Staff/FeatureFlags/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ import {
TrashIcon
} from '@heroicons/react/24/outline';
import { HEY_API_URL } from '@hey/data/constants';
import { FeatureFlag } from '@hey/data/feature-flags';
import { STAFFTOOLS } from '@hey/data/tracking';
import getAllFeatureFlags from '@hey/lib/api/getAllFeatureFlags';
import formatDate from '@hey/lib/datetime/formatDate';
import { Badge, Button, Card, EmptyState, ErrorMessage, Modal } from '@hey/ui';
import cn from '@hey/ui/cn';
import getAuthApiHeaders from '@lib/getAuthApiHeaders';
import { Leafwatch } from '@lib/leafwatch';
import { useQuery } from '@tanstack/react-query';
Expand Down Expand Up @@ -118,7 +120,15 @@ const List: FC = () => {
disabled={killing}
heading={
<div className="flex items-center space-x-2">
<b>{feature.key}</b>
<b
className={cn(
(feature.key === FeatureFlag.Suspended ||
feature.key === FeatureFlag.Flagged) &&
'text-red-500'
)}
>
{feature.key}
</b>
<Badge variant="secondary">{feature.type}</Badge>
</div>
}
Expand Down

1 comment on commit 9db9634

@vercel
Copy link

@vercel vercel bot commented on 9db9634 Feb 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

heyxyz.vercel.app
hey.xyz
web-git-main-heyxyz.vercel.app
web-heyxyz.vercel.app

Please sign in to comment.