it just can't stop improving
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jesko Dujmovic 2021-11-03 22:45:52 +01:00
parent e75ffc06e5
commit ee3f32b6cb

View File

@ -208,9 +208,11 @@ if (jsn != null) {
for (let [date, value] of Object.entries(jsn).sort().reverse()) {
s += date + "\n";
for (let exercise of value) {
if (exercise.reps != "" || exercise.weight != "") {
s += " " + exercise.exerciseType + ": " + exercise.weight + "kg x " + exercise.reps + " of " + exercise.repetitionType + "\n";
}
}
}
pre.textContent = s;
body.appendChild(pre);
}