Skip to content

Commit bd29877

Browse files
committed
fix(esf-templates): prevent excelStyleLoadingValuesTemplateDirective error
1 parent 3f07c85 commit bd29877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 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;

0 commit comments

Comments
 (0)