Save button was gated on workout.length, which stays 0 until a second exercise is started (the transition that flushes the current exercise into workout[]). Single-exercise workouts had no reachable save path. Gate on workout.length OR currentExercise sets, and recompute visibility when sets are added/removed and on draft restore. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app.js | ||
| index.html | ||
| style.css | ||