remove isEqual form imports and remove changeDetection from component
This commit is contained in:
parent
56d1c4677b
commit
66cdb24b37
@ -14,12 +14,12 @@
|
|||||||
/// limitations under the License.
|
/// 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 { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||||
import { OverlayRef } from '@angular/cdk/overlay';
|
import { OverlayRef } from '@angular/cdk/overlay';
|
||||||
import { EntityType } from '@shared/models/entity-type.models';
|
import { EntityType } from '@shared/models/entity-type.models';
|
||||||
import { FilterEventBody } from '@shared/models/event.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<any>('AlarmFilterPanelData');
|
export const EVENT_FILTER_PANEL_DATA = new InjectionToken<any>('AlarmFilterPanelData');
|
||||||
|
|
||||||
@ -37,8 +37,7 @@ export interface FilterEntityColumn {
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'tb-event-filter-panel',
|
selector: 'tb-event-filter-panel',
|
||||||
templateUrl: './event-filter-panel.component.html',
|
templateUrl: './event-filter-panel.component.html',
|
||||||
styleUrls: ['./event-filter-panel.component.scss'],
|
styleUrls: ['./event-filter-panel.component.scss']
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush
|
|
||||||
})
|
})
|
||||||
export class EventFilterPanelComponent {
|
export class EventFilterPanelComponent {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user