shortcut improvements

This commit is contained in:
zadam
2022-12-01 10:03:04 +01:00
parent 720fb0f73e
commit b55c2d3dbc
5 changed files with 35 additions and 10 deletions

View File

@@ -13,6 +13,13 @@ function getShortcutsForNotes() {
const map = {};
for (const attr of attrs) {
const note = becca.getNote(attr.noteId);
if (note?.type === 'launcher') {
// launchers have different handling
continue;
}
map[attr.value] = attr.noteId;
}