[Pharo] Personal fitness tracker web app.
Add correct amount of sets in SetGroup form.
src/MyFitnessTracker-Components/MFTSetGroupForm.class.st
@@ -119,7 +119,8 @@
119
119
html outlineButton
120
120
bePrimary;
121
121
beSmall;
122
Removed:
callback: [ setGroup addSets: setGroup sets ];
122
Added:
callback: [
123
Added:
setGroup addSets: (setGroup sets first: exerciseCount) ];
123
124
with: 'Add set'.
124
125
renderRpe ifFalse: [
125
126
html outlineButton