From 6ccc93be87e6e6fe9cf2800c6ec2255ecccabb0c 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 Signed-off-by: Pedro Amorim --- 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 b252923f10..f7ab99d55f 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.30.2