Browse Source

fix(nc-gui): Failed to resolve component: AccountUserManagement

pull/7855/head
Ramesh Mane 8 months ago
parent
commit
1d0edbd48e
  1. 11
      packages/nc-gui/pages/account/index/[page].vue

11
packages/nc-gui/pages/account/index/[page].vue

@ -3,9 +3,10 @@ const { appInfo } = useGlobal()
</script>
<template>
<AccountUserManagement v-if="$route.params.page === 'users'" />
<AccountToken v-else-if="$route.params.page === 'tokens'" />
<AccountProfile v-else-if="$route.params.page === 'profile'" />
<AccountAppStore v-else-if="$route.params.page === 'apps' && !appInfo.isCloud" />
<span v-else></span>
<div>
<AccountToken v-if="$route.params.page === 'tokens'" />
<AccountProfile v-else-if="$route.params.page === 'profile'" />
<AccountAppStore v-else-if="$route.params.page === 'apps' && !appInfo.isCloud" />
<span v-else></span>
</div>
</template>

Loading…
Cancel
Save