Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
front: fix undefined markerInfo.op in ItineraryMarkers
When launching a pathfinding this error pops up in the console: Uncaught (in promise) TypeError: markerInfo.op is undefined trackId ItineraryMarkers.tsx:132 fetchTrackSections ItineraryMarkers.tsx:132 ItineraryMarkers ItineraryMarkers.tsx:136 Before SuggestedOP are fetched, markerInfo.op is undefined. Guard against undefined values to avoid the error. Signed-off-by: Simon Ser <[email protected]>
- Loading branch information