launchbar WIP

This commit is contained in:
zadam
2022-08-06 15:00:56 +02:00
parent 54900b35dc
commit 08aa65bddb
13 changed files with 71 additions and 53 deletions

View File

@@ -22,7 +22,13 @@ export default class ShortcutContainer extends FlexContainer {
async load() {
this.children = [];
const visibleShortcutsRoot = await froca.getNote('lb_visibleshortcuts');
const visibleShortcutsRoot = await froca.getNote('lb_visibleshortcuts', true);
if (!visibleShortcutsRoot) {
console.log("Visible shortcuts root note doesn't exist.");
return;
}
for (const shortcut of await visibleShortcutsRoot.getChildNotes()) {
if (shortcut.getLabelValue("command")) {