Skip to content

Commit

Permalink
fix: prevent undefined AB#24074
Browse files Browse the repository at this point in the history
  • Loading branch information
arsforza committed Oct 16, 2023
1 parent 5b14182 commit 7b2ee9b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,8 @@ export class MapComponent implements AfterViewInit, OnDestroy {
(e) => e.eventName === feature.properties.eventName,
);
this.timelineService.handleTimeStepButtonClick(
event.firstLeadTime as LeadTime,
event.eventName,
event?.firstLeadTime as LeadTime,
event?.eventName,
);
this.eventService.switchEvent(feature.properties.eventName);
}
Expand Down

0 comments on commit 7b2ee9b

Please sign in to comment.