mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 22:36:39 +00:00
* fix: get rid of barrel files * chore: get rid of explicit imports * fix: use explicit import for classes and enums * fix: use explicit import for enum & class & aliases * fix: build issues
23 lines
586 B
Vue
23 lines
586 B
Vue
<script setup lang="ts">
|
|
const { isUIAllowed } = useRoles()
|
|
|
|
const { t } = useI18n()
|
|
|
|
const toggleDialog = inject(ToggleDialogInj, () => {})
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
v-if="isUIAllowed('settingsPage')"
|
|
class="flex items-center w-full pl-3 hover:(text-primary bg-primary bg-opacity-5)"
|
|
@click="toggleDialog(true, undefined, undefined, baseId)"
|
|
>
|
|
<div>
|
|
<div class="flex items-center space-x-1">
|
|
<component :is="iconMap.users" class="mr-1 nc-new-source" />
|
|
<div>{{ t('title.teamAndSettings') }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|