commute and race override warmup and cooldown
This commit is contained in:
@@ -4537,9 +4537,9 @@ def workout_edit_view(request, id=0, message="", successmessage=""):
|
|||||||
boatname = form.cleaned_data.get('boatname', '')
|
boatname = form.cleaned_data.get('boatname', '')
|
||||||
empowerside = form.cleaned_data.get('empowerside','port')
|
empowerside = form.cleaned_data.get('empowerside','port')
|
||||||
|
|
||||||
if is_race and subtype is None:
|
if is_race:
|
||||||
subtype = "Race"
|
subtype = "Race"
|
||||||
elif is_commute and subtype is None:
|
elif is_commute:
|
||||||
subtype = "Commute"
|
subtype = "Commute"
|
||||||
|
|
||||||
if private:
|
if private:
|
||||||
|
|||||||
Reference in New Issue
Block a user