Browse Source

chore(gui-v2): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3470/head
Pranav C 2 years ago
parent
commit
b96263293e
  1. 6
      packages/nc-gui-v2/components/tabs/auth/UserManagement.vue
  2. 2
      packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue

6
packages/nc-gui-v2/components/tabs/auth/UserManagement.vue

@ -199,8 +199,7 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 })
<div class="text-gray-500">{{ $t('general.reload') }}</div>
</div>
</a-button>
<a-button v-if="isUIAllowed('newUser')" size="middle" type="primary" ghost class="nc-invite-team"
@click="onInvite">
<a-button v-if="isUIAllowed('newUser')" size="middle" type="primary" ghost class="nc-invite-team" @click="onInvite">
<div class="flex flex-row justify-center items-center caption capitalize space-x-1">
<MdiAccountPlusOutline class="mr-1" />
<div>{{ $t('activity.inviteTeam') }}</div>
@ -225,8 +224,7 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 })
</div>
</div>
<div v-for="(user, index) of users" :key="index"
class="flex flex-row items-center border-b-1 py-2 px-2 nc-user-row">
<div v-for="(user, index) of users" :key="index" class="flex flex-row items-center border-b-1 py-2 px-2 nc-user-row">
<div class="flex w-4/6 flex-wrap nc-user-email">
{{ user.email }}
</div>

2
packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue

@ -207,7 +207,7 @@ onMounted(() => {
<template #overlay>
<a-menu>
<a-menu-item>
<div class="py-3" v-if="base?.uuid" @click="disableSharedBase">{{ $t('activity.shareBase.disable') }}</div>
<div v-if="base?.uuid" class="py-3" @click="disableSharedBase">{{ $t('activity.shareBase.disable') }}</div>
<div v-else class="py-3" @click="createShareBase(ShareBaseRole.Viewer)">{{ $t('activity.shareBase.enable') }}</div>
</a-menu-item>
</a-menu>

Loading…
Cancel
Save