Client - [PR84/93] display elevation on statistics

This commit is contained in:
Sam
2021-11-03 20:39:14 +01:00
parent c25f30fb2f
commit 07fb64c8f5
6 changed files with 259 additions and 19 deletions

View File

@ -32,6 +32,24 @@
/>
{{ $t('workouts.WORKOUT', 2) }}
</label>
<label v-if="fullStats">
<input
type="radio"
name="total_ascent"
:checked="displayedData === 'total_ascent'"
@click="updateDisplayData"
/>
{{ $t('workouts.ASCENT') }}
</label>
<label v-if="fullStats">
<input
type="radio"
name="total_descent"
:checked="displayedData === 'total_descent'"
@click="updateDisplayData"
/>
{{ $t('workouts.DESCENT') }}
</label>
</div>
<Chart
v-if="labels.length > 0"