Change stop separator

This commit is contained in:
Emmy D'Anello 2024-02-10 22:43:08 +01:00
parent da82ef7950
commit d679aadf68
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -174,7 +174,7 @@ function TrainRow({train, tableType, date, time}) {
stopsFilter = (stop_time) => stop_time.stop_sequence > train.stop_sequence && stop_time.drop_off_type === 0
else
stopsFilter = (stop_time) => stop_time.stop_sequence < train.stop_sequence && stop_time.pickup_type === 0
let stopsNames = stops.filter(stopsFilter).map(stopTime => stopTime?.stop.name ?? "").join(", ") ?? ""
let stopsNames = stops.filter(stopsFilter).map(stopTime => stopTime?.stop.name ?? "").join(" > ") ?? ""
return <>
<StyledTableRow tabletype={tableType}>