Correction de l'alignement, dimensions et détection des box de quai sur Classiques Départs et Arrivées

This commit is contained in:
mathis committed 2026-08-30 22:50:31 +02:00
1 parent 326e3e7c8b
commit c9a93d4f16
4 files changed
+43 -18

No files matched your search

@@ -1215,7 +1215,16 @@ export default function ClassiquesDeparts(){
const time = horaire._displayTime || formatTimeNoSeconds(horaire.heure_depart || horaire.departure_time || horaire.time || horaire.heure || '');
const destination = horaire.gare_arrivee_nom || horaire.gare_arrivee || horaire.destination || '';
const formattedDestination = formatStationName(destination);
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_depart_id || horaire.gare_id || horaire.origin_id || (gareIdParam || null);