Browse Source

feat: Remove copy invite token button for register users

Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: beejaybot <akisanyamobolaji@gmail.com>
Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
Co-authored-by: Mayomi Ayandiran <ayandiranmayomi@gmail.com>
pull/4934/head
gitstart 2 years ago
parent
commit
c2b5e99055
  1. 7
      packages/nc-gui/components/tabs/auth/UserManagement.vue

7
packages/nc-gui/components/tabs/auth/UserManagement.vue

@ -109,11 +109,6 @@ const deleteUser = async () => {
$e('a:user:delete')
}
const isNewInvitedUser = (user: User) => {
if (user.invite_token) return true
return false
}
const onEdit = (user: User) => {
selectedUser = user
showUserModal = true
@ -326,7 +321,7 @@ const isSuperAdmin = (user: { main_roles?: string }) => {
</a-tooltip>
<a-dropdown
v-if="isNewInvitedUser(user)"
v-if="user.invite_token"
:trigger="['click']"
class="flex"
placement="bottomRight"

Loading…
Cancel
Save