feature: Degraded Operations Visibility
This commit is contained in:
@@ -2,12 +2,14 @@
|
||||
import { computed } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import AppShell from '@/components/layout/AppShell.vue'
|
||||
import DegradedModeBanner from '@/components/DegradedModeBanner.vue'
|
||||
|
||||
const route = useRoute()
|
||||
const useShell = computed(() => !route.meta.public)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DegradedModeBanner />
|
||||
<AppShell v-if="useShell">
|
||||
<RouterView v-slot="{ Component }">
|
||||
<KeepAlive include="WardDashboard">
|
||||
|
||||
Reference in New Issue
Block a user