trigger execute bulk actions

This commit is contained in:
zadam
2022-06-12 00:05:46 +02:00
parent 041b4ea442
commit 63f0e441b9
6 changed files with 48 additions and 6 deletions

View File

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