From 9f74425d77bdf4611fdb1bbb2f9e65feb89cc530 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Signed-off-by: Nick Clemens Signed-off-by: Tomás Cohen Arazi --- .../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 5bb744c0aa..b3179f412a 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 @@