From 3222b63adc953ff17b2dab712cb5984e05139a27 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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" --- 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