Skip to content

Commit

Permalink
Behind feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Sep 26, 2024
1 parent 676346b commit b890029
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/scenes/Projects/WorkflowEvents/WorkflowEventsIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { History as HistoryIcon } from '@mui/icons-material';
import { Tooltip } from '@mui/material';
import { IconButton, IconButtonProps } from '~/components/IconButton';
import { Feature } from '../../../components/Feature';

export const WorkflowEventsIcon = (props: IconButtonProps) => (
<Tooltip title="View Status History Log">
<IconButton {...props}>
<HistoryIcon />
</IconButton>
</Tooltip>
<Feature flag="project-workflow-history" match={true}>
<Tooltip title="View Status History Log">
<IconButton {...props}>
<HistoryIcon />
</IconButton>
</Tooltip>
</Feature>
);

0 comments on commit b890029

Please sign in to comment.