renamed Listener() to Event()

This commit is contained in:
zadam
2020-02-16 19:23:49 +01:00
parent e000fb4579
commit 880f4ad711
23 changed files with 96 additions and 96 deletions

View File

@@ -67,7 +67,7 @@ export default class LinkMapWidget extends CollapsibleWidget {
}
}
entitiesReloadedListener({loadResults}) {
entitiesReloadedEvent({loadResults}) {
if (loadResults.getAttributes().find(attr => attr.type === 'relation' && (attr.noteId === this.noteId || attr.value === this.noteId))) {
this.refresh();
}