Commit b786915
authored
Adjust reps dropdown range in workout session logger (#115)
## Summary
- Updated the workout session logger’s repOptions logic so non-AMRAP rep dropdowns now always start at 0 instead of min_reps.
- Updated the dropdown upper bound to end at max_reps + 3, with a fallback to min_reps + 3 when max_reps is unavailable (and 0 + 3 if neither is finite).
- This now produces the requested behavior (e.g., a 6–8 rep range yields options 0 through 11).
------
[Codex Task](https://chatgpt.com/codex/tasks/task_e_69944ec8ca3883259a68d5f2c3261183)1 parent 2e802aa commit b786915
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| |||
0 commit comments