Client - do not diplay elevation for manually added workouts

This commit is contained in:
Sam 2021-09-01 13:14:11 +02:00
parent 1771299068
commit 4dd5633232

View File

@ -91,13 +91,13 @@ export default class WorkoutsList extends React.PureComponent {
<span className="heading-span-absolute">
{t('workouts:Ascent')}
</span>
{workout.ascent} m
{workout.ascent === null ? '' : `${workout.ascent} m`}
</td>
<td className="text-right">
<span className="heading-span-absolute">
{t('workouts:Descent')}
</span>
{workout.descent} m
{workout.descent === null ? '' : `${workout.descent} m`}
</td>
</tr>
))}