mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
note info sidebar widget
This commit is contained in:
@@ -60,9 +60,9 @@ class TabContext {
|
||||
this.noteChangeDisabled = false;
|
||||
this.isNoteChanged = false;
|
||||
this.attributes = new Attributes(this);
|
||||
this.sidebar = new Sidebar(this);
|
||||
|
||||
if (utils.isDesktop()) {
|
||||
this.sidebar = new Sidebar(this);
|
||||
this.noteType = new NoteTypeContext(this);
|
||||
}
|
||||
|
||||
@@ -133,6 +133,10 @@ class TabContext {
|
||||
|
||||
this.showPaths();
|
||||
|
||||
if (this.sidebar) {
|
||||
this.sidebar.noteLoaded();
|
||||
}
|
||||
|
||||
console.debug(`Switched tab ${this.tabId} to ${this.noteId}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user