Commit 66cdb24b379bd9cc0b2de2f56858c9f60a88a737
1 parent
56d1c467
remove isEqual form imports and remove changeDetection from component
Showing
1 changed file
with
3 additions
and
4 deletions
... | ... | @@ -14,12 +14,12 @@ |
14 | 14 | /// limitations under the License. |
15 | 15 | /// |
16 | 16 | |
17 | -import { Component, Inject, InjectionToken, ChangeDetectionStrategy } from '@angular/core'; | |
17 | +import { Component, Inject, InjectionToken } from '@angular/core'; | |
18 | 18 | import { FormBuilder, FormGroup, Validators } from '@angular/forms'; |
19 | 19 | import { OverlayRef } from '@angular/cdk/overlay'; |
20 | 20 | import { EntityType } from '@shared/models/entity-type.models'; |
21 | 21 | import { FilterEventBody } from '@shared/models/event.models'; |
22 | -import { deepTrim, isEqual } from '@core/utils'; | |
22 | +import { deepTrim } from '@core/utils'; | |
23 | 23 | |
24 | 24 | export const EVENT_FILTER_PANEL_DATA = new InjectionToken<any>('AlarmFilterPanelData'); |
25 | 25 | |
... | ... | @@ -37,8 +37,7 @@ export interface FilterEntityColumn { |
37 | 37 | @Component({ |
38 | 38 | selector: 'tb-event-filter-panel', |
39 | 39 | templateUrl: './event-filter-panel.component.html', |
40 | - styleUrls: ['./event-filter-panel.component.scss'], | |
41 | - changeDetection: ChangeDetectionStrategy.OnPush | |
40 | + styleUrls: ['./event-filter-panel.component.scss'] | |
42 | 41 | }) |
43 | 42 | export class EventFilterPanelComponent { |
44 | 43 | ... | ... |