Skip to content

Commit 259d5a8

Browse files
authored
Merge pull request #7016 from IgniteUI/jcoitino/fix-bug-7015
fix(grid): Avoid exception on overlay opened #7015
2 parents 0efe570 + 4c6a42a commit 259d5a8

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
@@ -2807,7 +2807,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
28072807
return;
28082808
}
28092809

2810-
if (this.overlayService.getOverlayById(event.id)?.settings.outlet === this.outletDirective &&
2810+
if (this.overlayService.getOverlayById(event.id)?.settings?.outlet === this.outletDirective &&
28112811
this.overlayIDs.indexOf(event.id) < 0) {
28122812
this.overlayIDs.push(event.id);
28132813
}

0 commit comments

Comments
 (0)