Fix Api Usage State alias
This commit is contained in:
parent
ffdf56222e
commit
449cb5941d
@ -147,6 +147,9 @@ export class EntityFilterComponent implements ControlValueAccessor, OnInit {
|
||||
entityViewNameFilter: [filter ? filter.entityViewNameFilter : '', []],
|
||||
});
|
||||
break;
|
||||
case AliasFilterType.apiUsageState:
|
||||
this.filterFormGroup = this.fb.group({});
|
||||
break;
|
||||
case AliasFilterType.relationsQuery:
|
||||
case AliasFilterType.assetSearchQuery:
|
||||
case AliasFilterType.deviceSearchQuery:
|
||||
@ -190,7 +193,7 @@ export class EntityFilterComponent implements ControlValueAccessor, OnInit {
|
||||
|
||||
private filterTypeChanged(type: AliasFilterType) {
|
||||
let resolveMultiple = true;
|
||||
if (type === AliasFilterType.singleEntity || type === AliasFilterType.stateEntity) {
|
||||
if (type === AliasFilterType.singleEntity || type === AliasFilterType.stateEntity || type === AliasFilterType.apiUsageState) {
|
||||
resolveMultiple = false;
|
||||
}
|
||||
if (this.resolveMultiple !== resolveMultiple) {
|
||||
|
||||
@ -108,6 +108,7 @@ export interface EntitySearchQueryFilter {
|
||||
fetchLastLevelOnly?: boolean;
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-empty-interface
|
||||
export interface ApiUsageStateFilter {
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user