|
|
@ -4,9 +4,10 @@ import { TabType } from '~/composables' |
|
|
|
|
|
|
|
|
|
|
|
const route = useRoute() |
|
|
|
const route = useRoute() |
|
|
|
const { loadProject, loadTables } = useProject(route.params.projectId as string) |
|
|
|
const { loadProject, loadTables } = useProject(route.params.projectId as string) |
|
|
|
const { addTab } = useTabs() |
|
|
|
const { addTab, clearTabs } = useTabs() |
|
|
|
const { $state } = useNuxtApp() |
|
|
|
const { $state } = useNuxtApp() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clearTabs() |
|
|
|
if (!route.params.type) { |
|
|
|
if (!route.params.type) { |
|
|
|
addTab({ type: TabType.AUTH, title: 'Team & Auth' }) |
|
|
|
addTab({ type: TabType.AUTH, title: 'Team & Auth' }) |
|
|
|
} |
|
|
|
} |
|
|
|