Fix submenu toggle logic for scenarios where there is no submenu at all
Fix submenu toggle logic for scenarios where there is no submenu at all

release-notes/release-notes-hub,release-notes/release-notes-hub