Browse Source

Merge pull request #4934 from gitstart/NCDBOSS-21

feat: UX improvement: Remove copy invite token button for register users
pull/4972/head
աɨռɢӄաօռɢ 2 years ago committed by GitHub
parent
commit
d855a96286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      packages/nc-gui/components/tabs/auth/UserManagement.vue

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

@ -320,7 +320,13 @@ const isSuperAdmin = (user: { main_roles?: string }) => {
</a-button>
</a-tooltip>
<a-dropdown :trigger="['click']" class="flex" placement="bottomRight" overlay-class-name="nc-dropdown-user-mgmt">
<a-dropdown
v-if="user.invite_token"
:trigger="['click']"
class="flex"
placement="bottomRight"
overlay-class-name="nc-dropdown-user-mgmt"
>
<div class="flex flex-row items-center">
<a-button type="text" class="!px-0">
<div class="flex flex-row items-center h-[1.2rem]">

Loading…
Cancel
Save