diff --git a/src/components/menu/VMenuBar.vue b/src/components/menu/VMenuBar.vue index 86e487d..dd5267b 100644 --- a/src/components/menu/VMenuBar.vue +++ b/src/components/menu/VMenuBar.vue @@ -2,6 +2,7 @@ import Menubar from 'primevue/menubar'; import type IVMenuBar from './IVMenuBar.type.js'; import styles from '@visua/typography.module.css' +import { useRoute } from 'vue-router'; const props = withDefaults(defineProps(), { searchbarId: 'searchbar-header', @@ -14,6 +15,8 @@ const props = withDefaults(defineProps(), { menuLabel: undefined, logoPath: '/home', }) + +const route = useRoute();