|
|
|
@ -146,7 +146,7 @@ const copyPasswordResetUrl = async (user: User) => {
|
|
|
|
|
> |
|
|
|
|
</a-input-search> |
|
|
|
|
<div class="flex-grow"></div> |
|
|
|
|
<MdiReload @click="loadUsers" class="cursor-pointer" /> |
|
|
|
|
<MdiReload class="cursor-pointer" @click="loadUsers" /> |
|
|
|
|
<a-button size="small" @click="showUserModal = true"> |
|
|
|
|
<div class="flex items-center gap-1"> |
|
|
|
|
<MdiAdd /> |
|
|
|
@ -221,8 +221,7 @@ const copyPasswordResetUrl = async (user: User) => {
|
|
|
|
|
<div v-if="!record.roles.includes('super')" class="flex items-center gap-2"> |
|
|
|
|
<MdiDeleteOutline class="nc-action-btn cursor-pointer" @click="deleteUser(text)" /> |
|
|
|
|
|
|
|
|
|
<a-dropdown :trigger="['click']" class="flex" placement="bottomRight" |
|
|
|
|
overlay-class-name="nc-dropdown-user-mgmt"> |
|
|
|
|
<a-dropdown :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]"> |
|
|
|
@ -233,6 +232,7 @@ const copyPasswordResetUrl = async (user: User) => {
|
|
|
|
|
|
|
|
|
|
<template #overlay> |
|
|
|
|
<a-menu> |
|
|
|
|
<template v-if="record.invite_token"> |
|
|
|
|
<a-menu-item> |
|
|
|
|
<!-- Resend invite Email --> |
|
|
|
|
<div class="flex flex-row items-center py-3" @click="resendInvite(record)"> |
|
|
|
@ -246,7 +246,8 @@ const copyPasswordResetUrl = async (user: User) => {
|
|
|
|
|
<div class="text-xs pl-2">{{ $t('activity.copyInviteURL') }}</div> |
|
|
|
|
</div> |
|
|
|
|
</a-menu-item> |
|
|
|
|
<a-menu-item> |
|
|
|
|
</template> |
|
|
|
|
<a-menu-item v-else> |
|
|
|
|
<div class="flex flex-row items-center py-3" @click="copyPasswordResetUrl(record)"> |
|
|
|
|
<MdiContentCopy class="flex h-[1rem] text-gray-500" /> |
|
|
|
|
<div class="text-xs pl-2">{{ $t('activity.copyPasswordResetURL') }}</div> |
|
|
|
|