From b3482cfa2c0f6b2b1c5a00be45b10fbe508a4b64 Mon Sep 17 00:00:00 2001 From: Yan Zhan Date: Fri, 18 Oct 2024 09:54:22 -0500 Subject: [PATCH] handle empty values --- manifests/navbar.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/navbar.pp b/manifests/navbar.pp index c3d6ec2..f6799b8 100644 --- a/manifests/navbar.pp +++ b/manifests/navbar.pp @@ -23,11 +23,11 @@ 'clusters', 'interactive apps', ] + - $navbar_items + pick($navbar_items, []) + [ 'sessions', ], - help_bar => $helpbar_items + [ + help_bar => pick($helpbar_items, []) + [ 'develop', 'help', 'user',