From c2d75ee7250f38feb4b9fe139199a8497ffa582a Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Mon, 14 Jul 2025 09:25:27 -0500 Subject: [PATCH] Fix picture disappearing if unavailable item. --- inventory/templates/inventory.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/inventory/templates/inventory.html b/inventory/templates/inventory.html index 8699508..77ff356 100644 --- a/inventory/templates/inventory.html +++ b/inventory/templates/inventory.html @@ -30,11 +30,9 @@ - {% if not item.condition in ["Removed", "Disposed"] %}
{{ images.render_image(item.id, item.image, enabled = item.condition not in ["Removed", "Disposed"]) }}
- {% endif %}