Skip to content

Commit c83b89a

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Add null check.
1 parent e9c4b68 commit c83b89a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

62086208
protected viewDetachHandler(args) {
6209-
if (this.actionStrip && args.view.rootNodes.find(x => x === this.actionStrip.context.element.nativeElement)) {
6209+
if (this.actionStrip && args.view.rootNodes.find(x => x === this.actionStrip.context?.element.nativeElement)) {
62106210
this.actionStrip.hide();
62116211
}
62126212
}

0 commit comments

Comments
 (0)