Fix backup dropdown permissions (#3469)
This commit is contained in:
parent
57987c0f79
commit
2c2c35303a
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ export default ({ backup, className }: Props) => {
|
|||
</p>
|
||||
<p css={tw`text-2xs text-neutral-500 uppercase mt-1`}>Created</p>
|
||||
</div>
|
||||
<Can action={'backup.download'}>
|
||||
<Can action={[ 'backup.download', 'backup.restore', 'backup.delete' ]} matchAny>
|
||||
<div css={tw`mt-4 md:mt-0 ml-6`} style={{ marginRight: '-0.5rem' }}>
|
||||
{!backup.completedAt ?
|
||||
<div css={tw`p-2 invisible`}>
|
||||
|
|
Loading…
Reference in a new issue