Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix: onFinished added which closes the menu (#11647)
Browse files Browse the repository at this point in the history
Co-authored-by: Manan Sadana <[email protected]>
  • Loading branch information
manancodes and Manan Sadana authored Sep 21, 2023
1 parent 60bed46 commit 6504fff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/views/spaces/SpacePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export const HomeButtonContextMenu: React.FC<ComponentProps<typeof SpaceContextM
label={_t("Show all rooms")}
active={allRoomsInHome}
onClick={() => {
onFinished();
SettingsStore.setValue("Spaces.allRoomsInHome", null, SettingLevel.ACCOUNT, !allRoomsInHome);
}}
/>
Expand Down

0 comments on commit 6504fff

Please sign in to comment.