From d679aadf685be98c3c7ac1ea267cb8350edf6db1 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sat, 10 Feb 2024 22:43:08 +0100 Subject: [PATCH] Change stop separator --- sncf-station/src/TrainsTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sncf-station/src/TrainsTable.js b/sncf-station/src/TrainsTable.js index 538da19..bd07a8d 100644 --- a/sncf-station/src/TrainsTable.js +++ b/sncf-station/src/TrainsTable.js @@ -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 <>