mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Fix all settings button opening sidebar settings tab (#7765)
This commit is contained in:
parent
714136d4f7
commit
254dbeeccb
1 changed files with 1 additions and 4 deletions
|
@ -63,10 +63,7 @@ const QuickSettingsButton = ({ isPanelCollapsed = false }) => {
|
||||||
<AccessibleButton
|
<AccessibleButton
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
closeMenu();
|
closeMenu();
|
||||||
defaultDispatcher.dispatch({
|
defaultDispatcher.dispatch({ action: Action.ViewUserSettings });
|
||||||
action: Action.ViewUserSettings,
|
|
||||||
initialTabId: UserTab.Sidebar,
|
|
||||||
});
|
|
||||||
}}
|
}}
|
||||||
kind="primary_outline"
|
kind="primary_outline"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue