Added frontend person edit permission client@show

This commit is contained in:
Simon Pocrnjič 2025-10-31 11:04:29 +01:00
parent ed4f67effb
commit 07b1deda21

View File

@ -89,7 +89,11 @@ const openDrawerCreateCase = () => {
class="bg-white overflow-hidden shadow-xl sm:rounded-lg border-l-4 border-blue-400" class="bg-white overflow-hidden shadow-xl sm:rounded-lg border-l-4 border-blue-400"
> >
<div class="mx-auto max-w-4x1 px-2"> <div class="mx-auto max-w-4x1 px-2">
<PersonInfoGrid :types="types" :person="client.person"></PersonInfoGrid> <PersonInfoGrid
:types="types"
:person="client.person"
:edit="hasPerm('client-edit')"
></PersonInfoGrid>
</div> </div>
</div> </div>
</div> </div>