diff --git a/public/js/components/Cis/Menu/Link.js b/public/js/components/Cis/Menu/Link.js index 4210c75f0..8255cbf55 100644 --- a/public/js/components/Cis/Menu/Link.js +++ b/public/js/components/Cis/Menu/Link.js @@ -9,6 +9,10 @@ export default { } }, methods: { + isRouterHandled() { + let isrouterhandled = this.$route.matched.length > 0; + return isrouterhandled; + }, isCompatLink() { if(this.href === null) { return false; @@ -20,7 +24,7 @@ export default { } }, template: ` - diff --git a/public/js/routers/Cis/CisRouter.js b/public/js/routers/Cis/CisRouter.js index aefb99404..caa2e8924 100644 --- a/public/js/routers/Cis/CisRouter.js +++ b/public/js/routers/Cis/CisRouter.js @@ -252,6 +252,9 @@ const router = VueRouter.createRouter({ component: FhcDashboard, props: {dashboard: 'CIS'}, }, +/* + * TODO(ma0080): 2026-07-06: commented out => check if needed + * { path: '/:pathMatch(.*)*', name: 'Fallback', @@ -266,6 +269,7 @@ const router = VueRouter.createRouter({ }; }, }, + */ { path: `/Cis/Zeitsperren`, name: 'Zeitsperren',