Browse Source

UI: Fixed notify again with deleted recipient

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

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

@ -179,6 +179,10 @@ export class EntityListComponent implements ControlValueAccessor, OnInit, AfterV
(entities) => {
this.entities = entities;
this.entityListFormGroup.get('entities').setValue(this.entities);
if(!entities.length && this.required) {
this.modelValue = null;
this.propagateChange(this.modelValue);
}
}
);
} else {

Loading…
Cancel
Save