Skip to content

Commit

Permalink
fix: SuperEvent should not be required (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored Dec 20, 2024
1 parent a72e972 commit 1626e46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function isOpportunityEventAttendanceModeEqualToMixedOrOffline(opportunity) {
if (opportunity.superEvent) {
return isEventIndependentlyOffline(opportunity.superEvent);
}
if (opportunity.superEvent.superEvent) {
if (opportunity.superEvent?.superEvent) {
return isEventIndependentlyOffline(opportunity.superEvent.superEvent);
}
return false;
Expand Down

0 comments on commit 1626e46

Please sign in to comment.