mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
refactored entity reloading
This commit is contained in:
@@ -427,7 +427,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
}
|
||||
}
|
||||
|
||||
async notesReloadedListener({loadResults}) {
|
||||
async entitiesReloadedListener({loadResults}) {
|
||||
const activeNode = this.getActiveNode();
|
||||
const activateNotePath = activeNode ? await treeService.getNotePath(activeNode) : null;
|
||||
|
||||
@@ -511,7 +511,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
// activateNotePath = appContext.getActiveTabNotePath();
|
||||
// }
|
||||
//
|
||||
// appContext.trigger('notesReloaded', { noteIds, activateNotePath });
|
||||
// appContext.trigger('entitiesReloaded', { noteIds, activateNotePath });
|
||||
// }
|
||||
|
||||
async reloadTreeListener() {
|
||||
|
||||
Reference in New Issue
Block a user