Change stop separator
This commit is contained in:
parent
da82ef7950
commit
d679aadf68
|
@ -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
|
stopsFilter = (stop_time) => stop_time.stop_sequence > train.stop_sequence && stop_time.drop_off_type === 0
|
||||||
else
|
else
|
||||||
stopsFilter = (stop_time) => stop_time.stop_sequence < train.stop_sequence && stop_time.pickup_type === 0
|
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 <>
|
return <>
|
||||||
<StyledTableRow tabletype={tableType}>
|
<StyledTableRow tabletype={tableType}>
|
||||||
|
|
Loading…
Reference in New Issue