Fix error where your unable to add a topset to a empty workout
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
</div>
|
||||
<div class="flow-root">
|
||||
|
||||
{% if workout['TopSets']|length > 0 %}
|
||||
<table class="items-center w-full bg-transparent border-collapse">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -73,7 +72,6 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
{% if workout['TopSets']|length == 0 %}
|
||||
<div class="bg-purple-100 rounded-lg py-5 px-6 mb-4 text-base text-purple-700 mb-3" role="alert">
|
||||
|
||||
Reference in New Issue
Block a user