Fix picture disappearing if unavailable item.

This commit is contained in:
Yaro Kasear 2025-07-14 09:25:27 -05:00
parent 1051dc8492
commit c2d75ee725

View file

@ -30,11 +30,9 @@
<label for="identifier" class="form-label">Identifier</label>
<input type="text" class="form-control-plaintext" value="{{ item.identifier }}" readonly>
</div>
{% if not item.condition in ["Removed", "Disposed"] %}
<div class="col">
{{ images.render_image(item.id, item.image, enabled = item.condition not in ["Removed", "Disposed"]) }}
</div>
{% endif %}
</div>
<div class="row">
<div class="col-4">