fix: route standalone views via route metadata

This commit is contained in:
2026-06-23 18:33:51 +02:00
parent a2272c5df6
commit 195c497c88
2 changed files with 17 additions and 13 deletions
+5 -1
View File
@@ -32,7 +32,11 @@ const navigate = (label: string) => {
}
const mobileNavOpen = ref(false)
const standaloneViews = computed(() => ['Dashboard', 'Settings', 'ProjectDetail', 'Memory', 'Docs', 'Security', 'Incidents', 'Calendar', 'AgentDetail', 'Agents', 'Task Board', 'TaskDetail', 'Notifications'].includes(activeView.value))
const standaloneViews = computed(() => {
if (route.name === 'Dashboard') return true
if (route.meta?.standalone) return true
return false
})
onMounted(() => {
if (auth.isAuthenticated) store.refresh()