Removed minifig checkbox if set doesn't contain any

This commit is contained in:
FrederikBaerentsen 2024-11-20 22:19:02 +01:00
parent f33690b79c
commit b1404ac7bd

View File

@ -215,6 +215,7 @@
<div class="column is-half">
<div class="is-size-7">
{% if i[0] in minifigs %}
<label class="checkbox" >
<input type="hidden" id="set_num" value="{{ i[0] }}">
<input type="hidden" id="u_id" value="{{ i[11] }}">
@ -231,6 +232,7 @@
Minifigs Collected
</label>
<br>
{% endif %}
<label class="checkbox" >
<input type="hidden" id="set_num" value="{{ i[0] }}">
<input type="hidden" id="u_id" value="{{ i[11] }}">