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"> <span className="heading-span-absolute">
{t('workouts:Ascent')} {t('workouts:Ascent')}
</span> </span>
{workout.ascent} m {workout.ascent === null ? '' : `${workout.ascent} m`}
</td> </td>
<td className="text-right"> <td className="text-right">
<span className="heading-span-absolute"> <span className="heading-span-absolute">
{t('workouts:Descent')} {t('workouts:Descent')}
</span> </span>
{workout.descent} m {workout.descent === null ? '' : `${workout.descent} m`}
</td> </td>
</tr> </tr>
))} ))}