mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Fix allocation permission
This commit is contained in:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user