Skip to content

Commit

Permalink
front: display rs name instead of rs reference in StdcmReportSheet
Browse files Browse the repository at this point in the history
Signed-off-by: Clara Ni <[email protected]>
  • Loading branch information
clarani committed Jan 3, 2025
1 parent b62328b commit 62953a3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ const SimulationReportSheet = ({
{`${Math.floor(convoyMass)} t`}
</Text>
<Text style={styles.convoyAndRoute.convoyInfoTitles}>{t('referenceEngine')}</Text>
<Text style={styles.convoyAndRoute.convoyInfoData}>
{rollingStock.metadata?.reference || '-'}
</Text>
<Text style={styles.convoyAndRoute.convoyInfoData}>{rollingStock.name}</Text>
<Text style={styles.convoyAndRoute.convoyInfoTitles}>{t('maxLength')}</Text>
<Text style={styles.convoyAndRoute.convoyInfoData}>{`${convoyLength} m`}</Text>
</View>
Expand Down

0 comments on commit 62953a3

Please sign in to comment.