mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
loading of custom widgets
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user