Skip to content

Commit 1e3b0a9

Browse files
authored
Merge branch '10.2.x' into hanastasov/handle-dates-m
2 parents f431446 + 0509e80 commit 1e3b0a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/igniteui-angular/src/lib/grids/filtering/excel-style/excel-style-search.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class IgxExcelStyleSearchComponent implements AfterViewInit, OnDestroy {
127127
* @hidden @internal
128128
*/
129129
public get valuesLoadingTemplate() {
130-
if (this.esf.grid.excelStyleLoadingValuesTemplateDirective) {
130+
if (this.esf.grid?.excelStyleLoadingValuesTemplateDirective) {
131131
return this.esf.grid.excelStyleLoadingValuesTemplateDirective.template;
132132
} else {
133133
return this.defaultExcelStyleLoadingValuesTemplate;
@@ -136,6 +136,7 @@ export class IgxExcelStyleSearchComponent implements AfterViewInit, OnDestroy {
136136

137137
constructor(public cdr: ChangeDetectorRef, public esf: IgxGridExcelStyleFilteringComponent) {
138138
esf.loadingStart.pipe(takeUntil(this.destroy$)).subscribe(() => {
139+
this.displayedListData = [];
139140
this.isLoading = true;
140141
});
141142
esf.loadingEnd.pipe(takeUntil(this.destroy$)).subscribe(() => {

0 commit comments

Comments
 (0)