From 3096bea77bd06bcc16cf950b0f19082d823ff8dd Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Tue, 27 Aug 2024 22:17:13 +0800 Subject: [PATCH] feat: update Signed-off-by: SuZhou-Joe --- src/core/public/chrome/ui/header/collapsible_nav_groups.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/public/chrome/ui/header/collapsible_nav_groups.tsx b/src/core/public/chrome/ui/header/collapsible_nav_groups.tsx index 3d202034dbbb..53a75aeaaddd 100644 --- a/src/core/public/chrome/ui/header/collapsible_nav_groups.tsx +++ b/src/core/public/chrome/ui/header/collapsible_nav_groups.tsx @@ -139,7 +139,7 @@ export function NavGroups({ const orderedLinksOrCategories = getOrderedLinksOrCategories(navLinks); const sideNavItems = orderedLinksOrCategories .map((navLink) => createSideNavItem(navLink, LEVEL_FOR_ROOT_ITEMS)) - .filter((navItem) => !!navItem.name); + .filter((navItem) => !!navItem.id); return (