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> |
||||||
<template v-if="$route.params.nestedPage === 'list'"> |
<template v-if="$route.params.nestedPage === 'password-reset'"> |
||||||
<LazyAccountUserList /> |
<LazyAccountResetPassword /> |
||||||
</template> |
</template> |
||||||
<template v-else-if="$route.params.nestedPage === 'settings'"> |
<template v-else-if="$route.params.nestedPage === 'settings' || !isUIAllowed('superAdminUserManagement')"> |
||||||
<LazyAccountSignupSettings /> |
<LazyAccountSignupSettings /> |
||||||
</template> |
</template> |
||||||
<template v-else-if="$route.params.nestedPage === 'password-reset'"> |
<template v-else-if="isUIAllowed('superAdminUserManagement')"> |
||||||
<LazyAccountResetPassword /> |
<LazyAccountUserList /> |
||||||
</template> |
</template> |
||||||
</template> |
</template> |
||||||
|
|
||||||
|
<script setup lang="ts"> |
||||||
|
|
||||||
|
import { useUIPermission } from '#imports' |
||||||
|
|
||||||
|
const { isUIAllowed } = useUIPermission() |
||||||
|
|
||||||
|
</script> |
||||||
|
Loading…
Reference in new issue