Skip to content

Commit f18b2f4

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Add null check.
1 parent 89b1eb8 commit f18b2f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6439,7 +6439,7 @@ export abstract class IgxGridBaseDirective implements GridType,
64396439
}
64406440

64416441
protected viewDetachHandler(args) {
6442-
if (this.actionStrip && args.view.rootNodes.find(x => x === this.actionStrip.context.element.nativeElement)) {
6442+
if (this.actionStrip && args.view.rootNodes.find(x => x === this.actionStrip.context?.element.nativeElement)) {
64436443
this.actionStrip.hide();
64446444
}
64456445
}

0 commit comments

Comments
 (0)