mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
902 B
32 lines
902 B
2 years ago
|
<script setup lang="ts">
|
||
2 years ago
|
import { useRoute, useUIPermission } from '#imports'
|
||
2 years ago
|
|
||
|
const route = useRoute()
|
||
|
|
||
|
const showUserModal = $ref(false)
|
||
|
|
||
|
const { isUIAllowed } = useUIPermission()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
2 years ago
|
<div class="flex items-center w-full pl-3 hover:(text-primary bg-primary bg-opacity-5)">
|
||
2 years ago
|
<div
|
||
2 years ago
|
v-if="
|
||
|
isUIAllowed('newUser') &&
|
||
|
route.name !== 'index' &&
|
||
2 years ago
|
route.name !== 'index-index-create' &&
|
||
|
route.name !== 'index-index-create-external' &&
|
||
2 years ago
|
route.name !== 'index-user-index'
|
||
|
"
|
||
|
@click="showUserModal = true"
|
||
|
>
|
||
2 years ago
|
<div class="flex items-center space-x-1">
|
||
2 years ago
|
<MdiAccountPlusOutline class="mr-1 nc-share-base" />
|
||
|
<div>{{ $t('activity.inviteTeam') }}</div>
|
||
2 years ago
|
</div>
|
||
2 years ago
|
</div>
|
||
2 years ago
|
|
||
2 years ago
|
<TabsAuthUserManagementUsersModal :key="showUserModal" :show="showUserModal" @closed="showUserModal = false" />
|
||
|
</div>
|
||
|
</template>
|