Fix issue arising from last commits refactor where multiple calls to edit workout start date/note would create multiple instances of the dom
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div id="workout-note" hx-target="this" hx-swap="innerHTML swap:0.5s">
|
||||
<div id="workout-note" hx-target="this" hx-swap="outerHTML swap:0.5s">
|
||||
{% if is_edit|default(false, true) == false %}
|
||||
{% if note|length > 0 %}
|
||||
<span class="text-base font-normal text-gray-500">{{ note }}</span>
|
||||
|
||||
Reference in New Issue
Block a user