You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-13 08:02:38 +03:00
Fix all settings button opening sidebar settings tab (#7765)
This commit is contained in:
@@ -63,10 +63,7 @@ const QuickSettingsButton = ({ isPanelCollapsed = false }) => {
|
||||
<AccessibleButton
|
||||
onClick={() => {
|
||||
closeMenu();
|
||||
defaultDispatcher.dispatch({
|
||||
action: Action.ViewUserSettings,
|
||||
initialTabId: UserTab.Sidebar,
|
||||
});
|
||||
defaultDispatcher.dispatch({ action: Action.ViewUserSettings });
|
||||
}}
|
||||
kind="primary_outline"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user