feature: RBAC + Clinical Audit Logging
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
<script setup>
|
||||
import { computed } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import AppShell from '@/components/layout/AppShell.vue'
|
||||
|
||||
const route = useRoute()
|
||||
const useShell = computed(() => !route.meta.public)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AppShell>
|
||||
<AppShell v-if="useShell">
|
||||
<RouterView v-slot="{ Component }">
|
||||
<KeepAlive include="WardDashboard">
|
||||
<Transition name="fade" mode="out-in">
|
||||
@@ -12,6 +17,7 @@ import AppShell from '@/components/layout/AppShell.vue'
|
||||
</KeepAlive>
|
||||
</RouterView>
|
||||
</AppShell>
|
||||
<RouterView v-else />
|
||||
</template>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user