fix: Keyboard shortcuts dialog shortcut should not be active when editing a document

closes #1292
This commit is contained in:
Tom Moor
2020-05-28 19:44:52 -07:00
parent 5a20a35c8b
commit 8b274c3713
3 changed files with 3 additions and 2 deletions

View File

@@ -59,6 +59,7 @@ class Layout extends React.Component<Props> {
@keydown('shift+/')
handleOpenKeyboardShortcuts() {
if (this.props.ui.editMode) return;
this.keyboardShortcutsOpen = true;
}