fix setting path

This commit is contained in:
zadam
2020-02-08 21:23:42 +01:00
parent 18ee239362
commit 9f4a514562
4 changed files with 27 additions and 30 deletions

View File

@@ -69,8 +69,6 @@ class TabContext extends Component {
tabId: this.tabId,
notePath: this.notePath
});
this.trigger('openTabsChanged');
}
/** @property {NoteShort} */
@@ -99,14 +97,10 @@ class TabContext extends Component {
return {
tabId: this.tabId,
notePath: this.notePath,
active: this.tabManager.activeTabId === this.tabId
active: this.isActive()
}
}
stateChanged() {
appContext.openTabsChangedListener();
}
noteDeletedListener({noteId}) {
if (this.noteId === noteId) {
this.noteId = null;