generate hidden subtree declaratively

This commit is contained in:
zadam
2022-12-07 12:46:41 +01:00
parent 5fc9f5f3f9
commit 2ad19ddd36
7 changed files with 306 additions and 492 deletions

View File

@@ -14,7 +14,7 @@ import CommandButtonWidget from "../buttons/command_button.js";
export default class LauncherWidget extends BasicWidget {
constructor() {
super();
this.innerWidget = null;
}
@@ -44,7 +44,7 @@ export default class LauncherWidget extends BasicWidget {
} else if (launcherType === 'builtinWidget') {
this.innerWidget = this.initBuiltinWidget(note);
} else {
throw new Error(`Unrecognized launcher type '${launcherType}' for launcher '${note.noteId}' title ${note.title}`);
throw new Error(`Unrecognized launcher type '${launcherType}' for launcher '${note.noteId}' title '${note.title}'`);
}
if (!this.innerWidget) {