Browse Source

fix(nc-gui): Org creator own role update issue

pull/7540/head
Ramesh Mane 9 months ago
parent
commit
2b1f97b127
  1. 5
      packages/nc-gui/components/account/UserList.vue

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

@ -252,7 +252,7 @@ const openDeleteModal = (user: UserType) => {
{{ $t('labels.superAdmin') }} {{ $t('labels.superAdmin') }}
</div> </div>
<NcSelect <NcSelect
v-else v-else-if="el.id !== loggedInUser?.id"
v-model:value="el.roles" v-model:value="el.roles"
class="w-55 nc-user-roles" class="w-55 nc-user-roles"
:dropdown-match-select-width="false" :dropdown-match-select-width="false"
@ -297,6 +297,9 @@ const openDeleteModal = (user: UserType) => {
</span> </span>
</a-select-option> </a-select-option>
</NcSelect> </NcSelect>
<div v-else class="font-weight-bold" data-rec="true">
{{ $t(`objects.roleType.orgLevelCreator`) }}
</div>
</div> </div>
<span class="w-26 flex items-center justify-end mr-4"> <span class="w-26 flex items-center justify-end mr-4">
<div <div

Loading…
Cancel
Save