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