Fix spotlight cmd-k wrongly expanding left panel (#7463)
This commit is contained in:
parent
6eea416e7e
commit
ea7ac453bc
3 changed files with 11 additions and 42 deletions
|
@ -794,6 +794,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
});
|
||||
break;
|
||||
case 'focus_room_filter': // for CtrlOrCmd+K to work by expanding the left panel first
|
||||
if (SettingsStore.getValue("feature_spotlight")) break; // don't expand if spotlight enabled
|
||||
// fallthrough
|
||||
case 'show_left_panel':
|
||||
this.setState({
|
||||
collapseLhs: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue