From 20310580f3f07ece73c33b6c3cf3ae84ed1e6a48 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 26 Jul 2023 13:17:43 +0200 Subject: [PATCH] Bug 34418: Allow empty nodes in breadcrumb's elements Coming from an adaptation of "Bug 33169: DO NOT PUSH Allow breadcrumbs to accept dynamic values" Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/js/vue/stores/navigation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/stores/navigation.js b/koha-tmpl/intranet-tmpl/prog/js/vue/stores/navigation.js index b252923f108..f7ab99d55ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/stores/navigation.js +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/stores/navigation.js @@ -123,7 +123,8 @@ export const useNavigationStore = defineStore("navigation", { icon: null, path: match.path, children: null, - })); + })) + .filter(match => match.title); } }, leftNavigation() { -- 2.25.1