This commit is contained in:
zadam
2020-02-29 22:04:46 +01:00
parent 49398f5374
commit 8888d04878
6 changed files with 23 additions and 13 deletions

View File

@@ -117,7 +117,12 @@ export default class NoteDetailWidget extends TabAwareWidget {
this.$widget.append($renderedWidget);
typeWidget.handleEvent('setTabContext', {tabContext: this.tabContext});
await typeWidget.handleEvent('setTabContext', {tabContext: this.tabContext});
typeWidget.handleEvent('tabNoteSwitched', {
tabId: this.tabContext.tabId,
notePath: this.notePath
});
}
this.setupClasses();