SUPPORT-8638:fix from review(3)

This commit is contained in:
adel.kalimullin 2024-11-18 16:04:56 +03:00
parent 1405a33b61
commit a4864ecad6

View file

@ -1,9 +1,5 @@
import {
CheckBox,
ComboBoxBase, DateTimePicker,
FilterComponent,
FilterGroup, TextBase,
CheckBox, ComboBoxBase, DateTimePicker, FilterComponent, FilterGroup, TextBase,
} from "@webbpm/base-package";
import {ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef} from "@angular/core";
import {FilterTransferService} from "../../FilterTransferService";
@ -15,7 +11,7 @@ import {FilterTransferService} from "../../FilterTransferService";
changeDetection: ChangeDetectionStrategy.OnPush
})
export class CustomFilterGroup extends FilterGroup {
private transferService:FilterTransferService
private transferService: FilterTransferService;
private filtersApplied: boolean = false;
constructor(el: ElementRef, cd: ChangeDetectorRef) {
@ -27,6 +23,7 @@ export class CustomFilterGroup extends FilterGroup {
this.transferService = this.injector.get(FilterTransferService);
this.applySavedFilters();
}
public postStart(): void {
if (this.liveFilter) {
this.registerLiveFilteringFieldChangeListeners();