From 62953a3f1d7f1b47fa648b9907f9266016693d16 Mon Sep 17 00:00:00 2001 From: Clara Ni Date: Fri, 3 Jan 2025 09:50:49 +0100 Subject: [PATCH] front: display rs name instead of rs reference in StdcmReportSheet Signed-off-by: Clara Ni --- .../stdcm/components/StdcmResults/SimulationReportSheet.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/front/src/applications/stdcm/components/StdcmResults/SimulationReportSheet.tsx b/front/src/applications/stdcm/components/StdcmResults/SimulationReportSheet.tsx index bad191ef466..d9e2d202f64 100644 --- a/front/src/applications/stdcm/components/StdcmResults/SimulationReportSheet.tsx +++ b/front/src/applications/stdcm/components/StdcmResults/SimulationReportSheet.tsx @@ -152,9 +152,7 @@ const SimulationReportSheet = ({ {`${Math.floor(convoyMass)} t`} {t('referenceEngine')} - - {rollingStock.metadata?.reference || '-'} - + {rollingStock.name} {t('maxLength')} {`${convoyLength} m`}