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