|
|
@ -3,15 +3,15 @@ import useTabs from '~/composables/useTabs' |
|
|
|
|
|
|
|
|
|
|
|
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 { clearTabs, addTab } = useTabs() |
|
|
|
const { addTab } = useTabs() |
|
|
|
const { $state } = useNuxtApp() |
|
|
|
const { $state } = useNuxtApp() |
|
|
|
|
|
|
|
|
|
|
|
if (!route.params.type) { |
|
|
|
if (!route.params.type) { |
|
|
|
addTab({ type: 'auth', title: 'Team & Auth' }) |
|
|
|
addTab({ type: 'auth', title: 'Team & Auth' }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
loadProject(route.params.projectId as string) |
|
|
|
await loadProject(route.params.projectId as string) |
|
|
|
loadTables() |
|
|
|
await loadTables() |
|
|
|
|
|
|
|
|
|
|
|
$state.sidebarOpen.value = true |
|
|
|
$state.sidebarOpen.value = true |
|
|
|
</script> |
|
|
|
</script> |
|
|
|