rename loadresults methods/properties for clarity that they don't contain entities, only rows

This commit is contained in:
zadam
2023-06-05 16:12:02 +02:00
parent 57702a07a2
commit e6bf6424e8
36 changed files with 71 additions and 74 deletions

View File

@@ -312,7 +312,7 @@ export default class SearchDefinitionWidget extends NoteContextAwareWidget {
entitiesReloadedEvent({loadResults}) {
// only refreshing deleted attrs, otherwise components update themselves
if (loadResults.getAttributes().find(attr => attr.type === 'label' && attr.name === 'action' && attr.isDeleted)) {
if (loadResults.getAttributeRows().find(attr => attr.type === 'label' && attr.name === 'action' && attr.isDeleted)) {
this.refresh();
}
}