GideonNeedleman / 5x5

0 stars 0 forks source link

GideonNeedleman/issue107 #109

Closed GideonNeedleman closed 7 months ago

GideonNeedleman commented 7 months ago

Fix issue #107 & #106

Replaced WorkoutButton disabled prop with location prop. Passing in location of button allows better control of behavior.

Also added a disabled state based on whether or not workout id exists in My Workouts. Problem is id is not unique and is being used as order. Part of the workoutIndex vs id mixup that needs to be fixed.

Also filtered out My Workouts entries from the Additional Workouts list