jovandeginste / workout-tracker

A workout tracking web application for personal use (or family, friends), geared towards running and other GPX-based activities
Other
945 stars 31 forks source link

Cannot de-select equipment #240

Closed TheBig-O closed 1 month ago

TheBig-O commented 1 month ago

I have a pair of shoes that are related to a variety of workouts but are marked as "inactive." Every time I add a new workout, they are added as equipment, which I don't want. When I try to de-select the default activities in the editing screen, they come right back when I click update. The behavior I would have expected is that when the equipment is not active, it is not added to a workout. However, if all I have to do is de-select the default activities, that works too.

image image
jovandeginste commented 1 month ago

The bug was only when the default workout type list was empty (because then you don't get a form field...)

It should now be fixed, anyway.