mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
[PLT-7051] Fix hide/show for CMD/CTRL + Shift + A keyboard shortcut (#6979)
* fix hide/show for CMD/CTRL + Shift + A keyboard shortcut * simplify setting value of show
This commit is contained in:
@@ -114,7 +114,7 @@ class UserSettingsModal extends React.Component {
|
||||
handleKeyDown(e) {
|
||||
if (Utils.cmdOrCtrlPressed(e) && e.shiftKey && e.keyCode === Constants.KeyCodes.A) {
|
||||
this.setState({
|
||||
show: true
|
||||
show: !this.state.show
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user