it just can't stop improving
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e75ffc06e5
commit
ee3f32b6cb
2
main.js
2
main.js
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user