Fix: onFinished added which closes the menu (#11647)
Co-authored-by: Manan Sadana <manan.sadana@cnhteam.onmicrosoft.com>pull/28788/head^2
							parent
							
								
									60bed46014
								
							
						
					
					
						commit
						6504fff25c
					
				|  | @ -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); | ||||
|                     }} | ||||
|                 /> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Manan Sadana
						Manan Sadana