Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export const useSidebarMenuItems = (): {
{
Icon: Organization,
title: 'organizations',
isHidden: BUTTONS_HIDDEN,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

While you've removed isHidden from the 'organizations' menu item, its parent section 'users' (defined on line 130) still has the isHidden: BUTTONS_HIDDEN property. This causes the entire section, including the 'organizations' item, to remain hidden when BUTTONS_HIDDEN is true.

To make the 'organizations' item always visible as intended, you likely need to remove the isHidden property from the 'users' section object as well. The 'users' item within that section can retain its isHidden property if it should remain conditionally visible.

},
{
Icon: UserProfile,
Expand Down
Loading