Skip to content

Commit ac3bdfb

Browse files
committed
fix(webapp): hide the org popover heading when the side menu is collapsed
The "Organization" section heading in the org popover now only shows when the side menu is expanded.
1 parent 159a39b commit ac3bdfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ function OrgSelector({
12531253
align="start"
12541254
style={{ maxHeight: `calc(var(--radix-popover-content-available-height) - 10vh)` }}
12551255
>
1256-
<PopoverSectionHeader title="Organization" />
1256+
{!isCollapsed && <PopoverSectionHeader title="Organization" />}
12571257
<div className="flex flex-col gap-1 p-1">
12581258
<PopoverMenuItem
12591259
to={organizationSettingsPath(organization)}

0 commit comments

Comments
 (0)