fix: handle undefined children in generate-menus (#6117)
When children is undefined, use empty array as fallback to prevent potential runtime errors. This matches the behavior when hideChildrenInMenu is true.
Showing
1 changed file
with
1 additions
and
1 deletions
-
Please register or sign in to post a comment