mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
PR comment
This commit is contained in:
parent
de51478e19
commit
c26bfcf9da
@ -2,7 +2,7 @@ import { SyntheticEvent, VFC } from 'react';
|
||||
import { ActionCell } from '../../../common/Table/cells/ActionCell/ActionCell';
|
||||
import { Undo } from '@mui/icons-material';
|
||||
import PermissionIconButton from '../../../common/PermissionIconButton/PermissionIconButton';
|
||||
import { ADMIN } from '../../../providers/AccessProvider/permissions';
|
||||
import { UPDATE_FEATURE } from '../../../providers/AccessProvider/permissions';
|
||||
|
||||
interface IReviveArchivedFeatureCell {
|
||||
onRevive: (event: SyntheticEvent<Element, Event>) => void;
|
||||
@ -18,7 +18,7 @@ export const ReviveArchivedFeatureCell: VFC<IReviveArchivedFeatureCell> = ({
|
||||
<PermissionIconButton
|
||||
onClick={onRevive}
|
||||
projectId={project}
|
||||
permission={ADMIN}
|
||||
permission={UPDATE_FEATURE}
|
||||
tooltipProps={{ title: 'Revive feature' }}
|
||||
>
|
||||
<Undo />
|
||||
|
Loading…
Reference in New Issue
Block a user