diff --git a/interfaces/IBF-dashboard/src/app/components/map/map.component.ts b/interfaces/IBF-dashboard/src/app/components/map/map.component.ts index b007df15b..d2ea3158b 100644 --- a/interfaces/IBF-dashboard/src/app/components/map/map.component.ts +++ b/interfaces/IBF-dashboard/src/app/components/map/map.component.ts @@ -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); }