note info sidebar widget

This commit is contained in:
zadam
2019-07-21 11:32:38 +02:00
parent 5283b489dc
commit eb28a3b0c9
5 changed files with 117 additions and 47 deletions

View File

@@ -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}`);
}