Skip to content

Commit

Permalink
Merge pull request #7016 from IgniteUI/jcoitino/fix-bug-7015
Browse files Browse the repository at this point in the history
fix(grid): Avoid exception on overlay opened #7015
  • Loading branch information
simeonoff authored Apr 11, 2020
2 parents 0efe570 + 4c6a42a commit 259d5a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2807,7 +2807,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
return;
}

if (this.overlayService.getOverlayById(event.id)?.settings.outlet === this.outletDirective &&
if (this.overlayService.getOverlayById(event.id)?.settings?.outlet === this.outletDirective &&
this.overlayIDs.indexOf(event.id) < 0) {
this.overlayIDs.push(event.id);
}
Expand Down

0 comments on commit 259d5a8

Please sign in to comment.