Fix error where your unable to add a topset to a empty workout
This commit is contained in:
@@ -35,7 +35,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flow-root">
|
<div class="flow-root">
|
||||||
|
|
||||||
{% if workout['TopSets']|length > 0 %}
|
|
||||||
<table class="items-center w-full bg-transparent border-collapse">
|
<table class="items-center w-full bg-transparent border-collapse">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -73,7 +72,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if workout['TopSets']|length == 0 %}
|
{% 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">
|
<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