mirror of
https://github.com/wekan/wekan.git
synced 2026-02-26 18:04:06 +01:00
Keyboard Shortcuts Enable/Disable is now at Right Sidebar, where already was list of Keyboard Shortcuts.
Thanks to xet7 ! Fixes https://github.com/wekan/wekan/pull/5628
This commit is contained in:
parent
7fc364cb63
commit
275ac445d0
5 changed files with 17 additions and 15 deletions
|
|
@ -39,11 +39,6 @@ BlazeComponent.extendComponent({
|
|||
return user && user.hasStarred(boardId);
|
||||
},
|
||||
|
||||
isKeyboardShortcuts() {
|
||||
const user = ReactiveCache.getCurrentUser();
|
||||
return user && user.isKeyboardShortcuts();
|
||||
},
|
||||
|
||||
// Only show the star counter if the number of star is greater than 2
|
||||
showStarCounter() {
|
||||
const currentBoard = Utils.getCurrentBoard();
|
||||
|
|
@ -77,9 +72,6 @@ BlazeComponent.extendComponent({
|
|||
'click .js-star-board'() {
|
||||
ReactiveCache.getCurrentUser().toggleBoardStar(Session.get('currentBoard'));
|
||||
},
|
||||
'click .js-keyboard-shortcuts-toggle'() {
|
||||
ReactiveCache.getCurrentUser().toggleKeyboardShortcuts();
|
||||
},
|
||||
'click .js-open-board-menu': Popup.open('boardMenu'),
|
||||
'click .js-change-visibility': Popup.open('boardChangeVisibility'),
|
||||
'click .js-watch-board': Popup.open('boardChangeWatch'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue