|
@@ -147,6 +147,9 @@ export class EntityFilterComponent implements ControlValueAccessor, OnInit { |
|
@@ -147,6 +147,9 @@ export class EntityFilterComponent implements ControlValueAccessor, OnInit { |
147
|
entityViewNameFilter: [filter ? filter.entityViewNameFilter : '', []],
|
147
|
entityViewNameFilter: [filter ? filter.entityViewNameFilter : '', []],
|
148
|
});
|
148
|
});
|
149
|
break;
|
149
|
break;
|
|
|
150
|
+ case AliasFilterType.apiUsageState:
|
|
|
151
|
+ this.filterFormGroup = this.fb.group({});
|
|
|
152
|
+ break;
|
150
|
case AliasFilterType.relationsQuery:
|
153
|
case AliasFilterType.relationsQuery:
|
151
|
case AliasFilterType.assetSearchQuery:
|
154
|
case AliasFilterType.assetSearchQuery:
|
152
|
case AliasFilterType.deviceSearchQuery:
|
155
|
case AliasFilterType.deviceSearchQuery:
|
|
@@ -190,7 +193,7 @@ export class EntityFilterComponent implements ControlValueAccessor, OnInit { |
|
@@ -190,7 +193,7 @@ export class EntityFilterComponent implements ControlValueAccessor, OnInit { |
190
|
|
193
|
|
191
|
private filterTypeChanged(type: AliasFilterType) {
|
194
|
private filterTypeChanged(type: AliasFilterType) {
|
192
|
let resolveMultiple = true;
|
195
|
let resolveMultiple = true;
|
193
|
- if (type === AliasFilterType.singleEntity || type === AliasFilterType.stateEntity) {
|
196
|
+ if (type === AliasFilterType.singleEntity || type === AliasFilterType.stateEntity || type === AliasFilterType.apiUsageState) {
|
194
|
resolveMultiple = false;
|
197
|
resolveMultiple = false;
|
195
|
}
|
198
|
}
|
196
|
if (this.resolveMultiple !== resolveMultiple) {
|
199
|
if (this.resolveMultiple !== resolveMultiple) {
|