Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

Workout: the best-set line reads its rows again after the combined-day history change, instead of failing to render the card (#173)

Duarte Santosa2cc091c4dcd
diff --git a/frontend/src/lib/exercise-history.js b/frontend/src/lib/exercise-history.js
index 2fa3670aa..a088dab4e 100644
--- a/frontend/src/lib/exercise-history.js
+++ b/frontend/src/lib/exercise-history.js
@@ -1,4 +1,4 @@
-import { metricEntriesForExercise, bestWeightForEntry, completedRepsOf, modeOf } from './history.js'
+import { metricEntriesForExercise, metricRowsForEntry, bestWeightForEntry, completedRepsOf, modeOf } from './history.js'
import { completedVolumeOf } from './workout-model.js'
import { bestSetOf } from './onerm.js'
import { beatsWeight } from './exercises.js'