Skip to content

Commit

Permalink
front: fix 0s timestop arrival lost when updating a train
Browse files Browse the repository at this point in the history
  • Loading branch information
SharglutDev committed Jul 17, 2024
1 parent 1c69bcc commit 58ea8a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const useSetupItineraryForTrainUpdate = (
arrival: arrival
? addDurationToIsoDate(trainSchedule.start_time, arrival).substring(11, 19)
: arrival,
stopFor: stopFor ? ISO8601Duration2sec(stopFor) : stopFor,
stopFor: stopFor ? ISO8601Duration2sec(stopFor).toString() : stopFor,
locked,
onStopSignal,
coordinates: stepsCoordinates[i],
Expand Down

0 comments on commit 58ea8a2

Please sign in to comment.