From b2da0d22afe8458f19f7e243c283e28e159570bf Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Thu, 15 Dec 2022 12:41:46 +0000 Subject: [PATCH] Navigation: show section toggle if there are any react children (#60336) show section toggle if there are children --- public/app/core/components/MegaMenu/NavBarMenuSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/MegaMenu/NavBarMenuSection.tsx b/public/app/core/components/MegaMenu/NavBarMenuSection.tsx index 01e57b0e95d..1e7e863c3b1 100644 --- a/public/app/core/components/MegaMenu/NavBarMenuSection.tsx +++ b/public/app/core/components/MegaMenu/NavBarMenuSection.tsx @@ -56,7 +56,7 @@ export function NavBarMenuSection({ {getNavTitle(link.id) ?? link.text} - {Boolean(link.children?.length) && ( + {children && (