Browse Source

UI: Update target on resend message

pull/11337/head
Artem Dzhereleiko 2 years ago
parent
commit
aa573dbc47
  1. 2
      ui-ngx/src/app/shared/components/entity/entity-list.component.ts

2
ui-ngx/src/app/shared/components/entity/entity-list.component.ts

@ -187,8 +187,10 @@ export class EntityListComponent implements ControlValueAccessor, OnInit, AfterV
this.modelValue = [...value];
this.entityService.getEntities(this.entityType, value).subscribe(
(entities) => {
this.modelValue = entities.map(entity => entity.id.id);
this.entities = entities;
this.entityListFormGroup.get('entities').setValue(this.entities);
this.propagateChange(this.modelValue);
}
);
} else {

Loading…
Cancel
Save