From 8557dcf7b1b285f99d7dc20d37bcfdb00e43cad3 Mon Sep 17 00:00:00 2001 From: Philipp Pracht Date: Mon, 28 Mar 2022 13:36:35 +0200 Subject: [PATCH] hide empty categories (#2626) --- core/src/navigation/LeftNav.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/navigation/LeftNav.svelte b/core/src/navigation/LeftNav.svelte index b7688a9291..1f99e459fc 100644 --- a/core/src/navigation/LeftNav.svelte +++ b/core/src/navigation/LeftNav.svelte @@ -551,7 +551,7 @@ {/if} {/if} {/each} - {:else} + {:else if nodes.filter(node => (!node.hideFromNav && node.label)).length > 0} {#if nodes.metaInfo.collapsible}