Sfoglia il codice sorgente

Merge pull request #5639 from NadavTasher/feature/enable-keyboard-shortcuts-by-default

Enable keyboard shortcuts by default
Lauri Ojansivu 5 mesi fa
parent
commit
ee4f09845c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      models/users.js

+ 2 - 2
models/users.js

@@ -962,7 +962,7 @@ Users.helpers({
   },
 
   isKeyboardShortcuts() {
-    const { keyboardShortcuts = false } = this.profile || {};
+    const { keyboardShortcuts = true } = this.profile || {};
     return keyboardShortcuts;
   },
 
@@ -1031,7 +1031,7 @@ Users.mutations({
     };
   },
   toggleKeyboardShortcuts() {
-    const { keyboardShortcuts = false } = this.profile || {};
+    const { keyboardShortcuts = true } = this.profile || {};
     return {
       $set: {
         'profile.keyboardShortcuts': !keyboardShortcuts,