Browse Source

Merge pull request #9643 from ArtemDzhereleiko/AD/bug-fix/alarm-type-list

Fixed uncontrolled focus alarm type list
pull/9651/head
Andrew Shvayka 3 years ago
committed by GitHub
parent
commit
3f391bd265
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts

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

@ -265,8 +265,8 @@ export class EntitySubTypeListComponent implements ControlValueAccessor, OnInit,
const value = (event.value || '').trim();
if (value) {
this.add(value);
this.clear('');
}
this.clear('');
}
remove(entitySubtype: string) {
const index = this.entitySubtypeList.indexOf(entitySubtype);

Loading…
Cancel
Save