mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
fixes
This commit is contained in:
@@ -17,6 +17,13 @@ class TabContext extends Component {
|
||||
this.tabId = tabId || utils.randomString(4);
|
||||
}
|
||||
|
||||
setEmpty() {
|
||||
this.triggerEvent('tabNoteSwitched', {
|
||||
tabId: this.tabId,
|
||||
notePath: this.notePath
|
||||
});
|
||||
}
|
||||
|
||||
async setNote(inputNotePath, triggerSwitchEvent = true) {
|
||||
const notePath = await treeService.resolveNotePath(inputNotePath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user