diff --git a/packages/nc-gui-v2/pages/[projectType]/[projectId]/index.vue b/packages/nc-gui-v2/pages/[projectType]/[projectId]/index.vue index 24ce45d62a..6b1d779ad4 100644 --- a/packages/nc-gui-v2/pages/[projectType]/[projectId]/index.vue +++ b/packages/nc-gui-v2/pages/[projectType]/[projectId]/index.vue @@ -85,10 +85,6 @@ onKeyStroke( clearTabs() -if (!route.params.type && isUIAllowed('teamAndAuth')) { - addTab({ type: TabType.AUTH, title: 'Team & Auth' }) -} - function toggleDialog(value?: boolean, key?: string) { dialogOpen.value = value ?? !dialogOpen.value openDialogKey.value = key @@ -98,6 +94,10 @@ await loadProject() await loadTables() +if (!route.params.type && isUIAllowed('teamAndAuth')) { + addTab({ type: TabType.AUTH, title: 'Team & Auth' }) +} + const copyProjectInfo = async () => { try { await loadProjectMetaInfo() diff --git a/packages/nc-gui-v2/pages/index/index.vue b/packages/nc-gui-v2/pages/index/index.vue index a2383bcaf6..9d95950fb0 100644 --- a/packages/nc-gui-v2/pages/index/index.vue +++ b/packages/nc-gui-v2/pages/index/index.vue @@ -153,7 +153,7 @@ onMounted(() => { onClick: () => { $e('a:project:open') - navigateTo(`/nc/${record.id}/auth`) + navigateTo(`/nc/${record.id}`) }, class: ['group'], })