Fix allocation permission
This commit is contained in:
parent
2d19c12a5a
commit
74e90e087f
2 changed files with 6 additions and 2 deletions
|
@ -89,10 +89,10 @@ const AllocationRow = ({ allocation }: Props) => {
|
|||
<span css={tw`bg-green-500 py-1 px-2 rounded text-green-50 text-xs`}>Primary</span>
|
||||
:
|
||||
<>
|
||||
<Can action={'allocations.delete'}>
|
||||
<Can action={'allocation.delete'}>
|
||||
<DeleteAllocationButton allocation={allocation.id}/>
|
||||
</Can>
|
||||
<Can action={'allocations.update'}>
|
||||
<Can action={'allocation.update'}>
|
||||
<Button
|
||||
isSecondary
|
||||
size={'xsmall'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue