Correction de l'alignement, dimensions et détection des box de quai sur Classiques Départs et Arrivées
This commit is contained in:
1 parent
326e3e7c8b
commit
c9a93d4f16
4 files changed
+43
-18
No files matched your search
@@ -1218,7 +1218,16 @@ export default function ClassiquesArrivees(){
|
||||
const time = horaire._displayTime || formatTimeNoSeconds(horaire.heure_arrivee || horaire.arrival_time || horaire.time || horaire.heure || '');
|
||||
const origin = horaire.gare_depart_nom || horaire.gare_depart || horaire.origine || '';
|
||||
const formattedOrigin = formatStationName(origin);
|
||||
const rawPlatform = (horaire._displayPlatform || horaire.voie || horaire.quai || '').toString().trim();
|
||||
const rawPlatform = (
|
||||
horaire._displayPlatform ||
|
||||
horaire.quai ||
|
||||
horaire.voie ||
|
||||
horaire.platform ||
|
||||
horaire.platform_code ||
|
||||
horaire.track ||
|
||||
(horaire.stop_point && horaire.stop_point.platform_code) ||
|
||||
''
|
||||
).toString().trim();
|
||||
const cleanPlatform = formatPlatform(rawPlatform);
|
||||
|
||||
const stationId = horaire.gare_arrivee_id || horaire.gare_id || horaire.destination_id || (gareIdParam || null);
|
||||
|
||||
Reference in new issue
Block a user