Removed minifigs table if set doesn't contain it

This commit is contained in:
FrederikBaerentsen 2024-04-15 09:00:18 +02:00
parent 9cf71507f7
commit 765e5de30d

View File

@ -70,8 +70,9 @@
</table>
</div>
<h1>Minifigs</h1>
{% if minifigs_file.figs | length > 0 %}
<h1>Minifigs</h1>
{% for fig in minifigs_file.figs %}
<h2>{{ fig.name}}</h2>
@ -135,7 +136,7 @@
{% endfor %}
{% endif %}