mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
launchbar WIP
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user