We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c1b210 commit 7e8062eCopy full SHA for 7e8062e
src/lib/index/sections/workouts/stats.svelte
@@ -45,7 +45,8 @@
45
const secondsPerKm = Math.floor(totalSecondsPerKm % 60);
46
stats.set('Avg. Pace', `${minutesPerKm}:${secondsPerKm.toString().padStart(2, '0')}/km`);
47
}
48
- } else if (workout.total_elevation_gain && workout.total_elevation_gain > 304.8) {
+ } else if (workout.total_elevation_gain && workout.total_elevation_gain > 228.6) {
49
+ // show elevation if greater than 750ft
50
stats.set(
51
'Elevation Gain',
52
`${Math.round(
@@ -64,6 +65,7 @@
64
65
).toLocaleString()} ${imperialUnits ? 'lbs' : 'kg'}`
66
);
67
68
+
69
if (workout.hevy_set_count) {
70
stats.set('Sets', `${workout.hevy_set_count ?? 0}`);
71
0 commit comments