loading of custom widgets

This commit is contained in:
zadam
2019-08-17 11:28:36 +02:00
parent 53c4bb8a94
commit fd9b79e115
7 changed files with 63 additions and 12 deletions

View File

@@ -106,6 +106,7 @@ class TabContext {
setNote(note, notePath) {
this.noteId = note.noteId;
this.notePath = notePath;
/** @property {NoteFull} */
this.note = note;
this.tabRow.updateTab(this.$tab[0], {title: note.title});
@@ -136,7 +137,7 @@ class TabContext {
this.showPaths();
if (this.sidebar) {
this.sidebar.noteLoaded();
this.sidebar.noteLoaded(); // load async
}
console.debug(`Switched tab ${this.tabId} to ${this.noteId}`);