From 78f2ce231778d90dac26644c42163f8efae3a540 Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Fri, 24 Jan 2025 22:21:18 +1100 Subject: [PATCH] Fix bug introduced by last commit in which exercise progress graph wouldnt load upon selecting a exercise --- templates/partials/new_set_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/new_set_form.html b/templates/partials/new_set_form.html index 4d85e2e..5e4c52e 100644 --- a/templates/partials/new_set_form.html +++ b/templates/partials/new_set_form.html @@ -56,7 +56,7 @@ hx-target="#new-set-workout-{{ workout_id }}" hx-include="[name='exercise_id']"> -{% if has_value==True %} +{% if exercise_id %}