mirror of https://github.com/nocodb/nocodb
Pranav C
2 years ago
2 changed files with 28 additions and 14 deletions
@ -1,11 +1,19 @@
|
||||
<template> |
||||
<template v-if="$route.params.nestedPage === 'list'"> |
||||
<LazyAccountUserList /> |
||||
<template v-if="$route.params.nestedPage === 'password-reset'"> |
||||
<LazyAccountResetPassword /> |
||||
</template> |
||||
<template v-else-if="$route.params.nestedPage === 'settings'"> |
||||
<template v-else-if="$route.params.nestedPage === 'settings' || !isUIAllowed('superAdminUserManagement')"> |
||||
<LazyAccountSignupSettings /> |
||||
</template> |
||||
<template v-else-if="$route.params.nestedPage === 'password-reset'"> |
||||
<LazyAccountResetPassword /> |
||||
<template v-else-if="isUIAllowed('superAdminUserManagement')"> |
||||
<LazyAccountUserList /> |
||||
</template> |
||||
</template> |
||||
|
||||
<script setup lang="ts"> |
||||
|
||||
import { useUIPermission } from '#imports' |
||||
|
||||
const { isUIAllowed } = useUIPermission() |
||||
|
||||
</script> |
||||
|
Loading…
Reference in new issue