Change move-to-archive keyboard shortcut to '-'

This commit is contained in:
Nadav Tasher 2024-07-27 16:12:06 +03:00
parent c632bc4555
commit cecb4b8336

View file

@ -159,7 +159,7 @@ Mousetrap.bind('space', evt => {
} }
}); });
Mousetrap.bind('c', evt => { Mousetrap.bind('-', evt => {
const cardId = getSelectedCardId(); const cardId = getSelectedCardId();
if (!cardId) { if (!cardId) {
return; return;
@ -222,7 +222,7 @@ Template.keyboardShortcuts.helpers({
action: 'shortcut-assign-self', action: 'shortcut-assign-self',
}, },
{ {
keys: ['c'], keys: ['-'],
action: 'archive-card', action: 'archive-card',
}, },
{ {