Skip to content

Commit 8cb1e67

Browse files
committed
Unflag dashboard & project workflow features
1 parent f64646b commit 8cb1e67

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import { History as HistoryIcon } from '@mui/icons-material';
22
import { Tooltip } from '@mui/material';
33
import { IconButton, IconButtonProps } from '~/components/IconButton';
4-
import { Feature } from '../../../components/Feature';
54

65
export const WorkflowEventsIcon = (props: IconButtonProps) => (
7-
<Feature flag="project-workflow-history" match={true}>
8-
<Tooltip title="View Status History Log">
9-
<IconButton {...props}>
10-
<HistoryIcon />
11-
</IconButton>
12-
</Tooltip>
13-
</Feature>
6+
<Tooltip title="View Status History Log">
7+
<IconButton {...props}>
8+
<HistoryIcon />
9+
</IconButton>
10+
</Tooltip>
1411
);

src/scenes/Root/Sidebar/Sidebar.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
import { ThemeProvider } from '@mui/material/styles';
1111
import { ComponentType } from 'react';
1212
import { makeStyles } from 'tss-react/mui';
13-
import { Feature } from '../../../components/Feature';
1413
import { PeopleJoinedIcon } from '../../../components/Icons';
1514
import { ListItemLink, ListItemLinkProps } from '../../../components/Routing';
1615
import { CreateButtonMenu } from '../Creates';
@@ -41,9 +40,7 @@ export const Sidebar = () => {
4140
aria-label="sidebar"
4241
subheader={<ListSubheader component="div">MENU</ListSubheader>}
4342
>
44-
<Feature flag="dashboard" match={true}>
45-
<NavItem to="/dashboard" label="My Dashboard" icon={Dashboard} />
46-
</Feature>
43+
<NavItem to="/dashboard" label="My Dashboard" icon={Dashboard} />
4744
<NavItem
4845
to="/projects"
4946
label="Projects"

0 commit comments

Comments
 (0)