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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
|