mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
launcher improvements
This commit is contained in:
@@ -8,10 +8,10 @@ function getKeyboardActions() {
|
||||
}
|
||||
|
||||
function getShortcutsForNotes() {
|
||||
const attrs = becca.findAttributes('label', 'keyboardShortcut');
|
||||
const labels = becca.findAttributes('label', 'keyboardShortcut');
|
||||
|
||||
// launchers have different handling
|
||||
return attrs.filter(attr => becca.getNote(attr.noteId)?.type !== 'launcher');
|
||||
return labels.filter(attr => becca.getNote(attr.noteId)?.type !== 'launcher');
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user