mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Merge pull request #5639 from NadavTasher/feature/enable-keyboard-shortcuts-by-default
Enable keyboard shortcuts by default
This commit is contained in:
commit
ee4f09845c
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue