refactored entity reloading

This commit is contained in:
zadam
2020-01-29 20:14:02 +01:00
parent 976b2aa6f5
commit 439b45b0b8
7 changed files with 84 additions and 45 deletions

View File

@@ -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() {