From 66cdb24b379bd9cc0b2de2f56858c9f60a88a737 Mon Sep 17 00:00:00 2001 From: ArtemDzhereleiko Date: Wed, 1 Sep 2021 12:19:31 +0300 Subject: [PATCH] remove isEqual form imports and remove changeDetection from component --- .../home/components/event/event-filter-panel.component.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/event/event-filter-panel.component.ts b/ui-ngx/src/app/modules/home/components/event/event-filter-panel.component.ts index 64ad0d07e1..954253b459 100644 --- a/ui-ngx/src/app/modules/home/components/event/event-filter-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/event/event-filter-panel.component.ts @@ -14,12 +14,12 @@ /// limitations under the License. /// -import { Component, Inject, InjectionToken, ChangeDetectionStrategy } from '@angular/core'; +import { Component, Inject, InjectionToken } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { OverlayRef } from '@angular/cdk/overlay'; import { EntityType } from '@shared/models/entity-type.models'; import { FilterEventBody } from '@shared/models/event.models'; -import { deepTrim, isEqual } from '@core/utils'; +import { deepTrim } from '@core/utils'; export const EVENT_FILTER_PANEL_DATA = new InjectionToken('AlarmFilterPanelData'); @@ -37,8 +37,7 @@ export interface FilterEntityColumn { @Component({ selector: 'tb-event-filter-panel', templateUrl: './event-filter-panel.component.html', - styleUrls: ['./event-filter-panel.component.scss'], - changeDetection: ChangeDetectionStrategy.OnPush + styleUrls: ['./event-filter-panel.component.scss'] }) export class EventFilterPanelComponent {