diff --git a/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue b/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue index 69797b8f40..8e7e643cac 100644 --- a/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue +++ b/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue @@ -22,6 +22,7 @@ const toast = useToast() const { $api, $e } = useNuxtApp() const { project } = useProject() const { copy } = useClipboard() +const { isUIAllowed } = useUIPermission() let users = $ref(null) let selectedUser = $ref(null) @@ -80,6 +81,7 @@ const deleteUser = async () => { await loadUsers() showUserDeleteModal = false } catch (e: any) { + showUserDeleteModal = false console.error(e) toast.error(await extractSdkResponseErrorMsg(e)) } @@ -158,8 +160,8 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 }) This action will remove this user from this project
- Cancel - Confirm + {{ $t('general.cancel') }} + {{ $t('general.confirm') }}
@@ -179,10 +181,10 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 })
Reload
- +
-
Invite Team
+
{{ $t('activity.inviteTeam') }}
@@ -192,15 +194,15 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 })
-
E-mail
+
{{ $t('labels.email') }}
-
Role
+
{{ $t('objects.role') }}
-
Actions
+
{{ $t('labels.actions') }}
@@ -209,14 +211,14 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 }) {{ user.email }}
-
+
{{ user.roles }}