Skip to content

Commit

Permalink
fix: get load from first set if myorep match sets
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyAsh5114 committed Nov 11, 2024
1 parent b7c795d commit 11a08b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
exercise.sets[setIndex].miniSets.push({
completed: false,
reps: undefined,
load: exercise.setType === 'MyorepMatch' ? exercise.sets[setIndex].load : undefined,
load: exercise.setType === 'MyorepMatch' ? exercise.sets[0].load : undefined,
RIR: undefined
});
}
Expand Down

0 comments on commit 11a08b0

Please sign in to comment.