diff --git a/kinit-admin/src/components/Menu/src/components/useRenderMenuItem.tsx b/kinit-admin/src/components/Menu/src/components/useRenderMenuItem.tsx index 301313f..2f8bc8e 100644 --- a/kinit-admin/src/components/Menu/src/components/useRenderMenuItem.tsx +++ b/kinit-admin/src/components/Menu/src/components/useRenderMenuItem.tsx @@ -19,7 +19,7 @@ export const useRenderMenuItem = () => if ( oneShowingChild && - (!onlyOneChild?.children || onlyOneChild?.noShowingChildren) && + (!(onlyOneChild?.children?.length !== 0) || onlyOneChild?.noShowingChildren) && !meta?.alwaysShow ) { return (