Closing "Assets" dropdown should also collapse "Server Access" and "Website" sub-dropdowns
Issue: When the Assets dropdown is closed, the nested dropdowns (Server Access and Website) remain open in the background. Later, when the Assets dropdown is reopened, both Server Access and Website sub-dropdowns automatically appear in the expanded state, even though the parent was closed earlier.
Current Behavior:
Open Assets dropdown.
Expand Server Access and/or Website dropdowns.
Close the Assets dropdown directly.
Reopen Assets dropdown → Previously expanded sub-dropdowns are still open.
Expected Behavior: When the Assets dropdown is closed, all its child dropdowns (Server Access and Website) should automatically collapse. Reopening Assets should show all sub-dropdowns in a closed state.
Impact:
Creates UI inconsistency
Confusing behavior for users
Breaks standard dropdown hierarchy logic
Suggested Fix: On closing the Assets dropdown, trigger collapse/reset for all sub-menus under it.