From 2e6b3c46cb2f75eceb51405488e8e6d9dffcca6f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 2 Dec 2025 13:33:08 +0100 Subject: [PATCH] Bug 41336: Remove 'No match found for location with path' warnings Cypress tests for Vue app are currently failing because of the following warnings in the console: "[Vue Router warn] No match found for location with path" It happens for routes that are disabled. We should not build a router-link but a "disabled" link instead. --- .../prog/js/vue/components/NavigationItem.vue | 28 +++++++------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue index 5bb744c0aab..b3179f412a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue @@ -1,42 +1,34 @@