Browse Source

fix: disable action button for super admin #7271

pull/7270/head
Ramesh Mane 11 months ago
parent
commit
9f28c179f4
  1. 2
      packages/nc-gui/components/account/UserList.vue

2
packages/nc-gui/components/account/UserList.vue

@ -261,7 +261,7 @@ const openDeleteModal = (user: UserType) => {
<div <div
class="flex items-center gap-2" class="flex items-center gap-2"
:class="{ :class="{
'opacity-0': el.roles?.includes('super'), 'opacity-0 pointer-events-none': el.roles?.includes('super'),
}" }"
> >
<NcDropdown :trigger="['click']"> <NcDropdown :trigger="['click']">

Loading…
Cancel
Save