Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

feat: show quantity in card view if quantity == 0 (hay-kot/homebox#672) (#673)

Marcel K27b72603e125
diff --git a/frontend/components/Item/Card.vue b/frontend/components/Item/Card.vue
index 7d6de95b..1af4c265 100644
--- a/frontend/components/Item/Card.vue
+++ b/frontend/components/Item/Card.vue
@@ -19,7 +19,7 @@
<div v-if="item.insured" class="tooltip z-10" data-tip="Insured">
<Icon class="h-5 w-5 text-primary" name="mdi-shield-check" />
</div>
- <div v-if="item.quantity > 1" class="tooltip" data-tip="Quantity">
+ <div class="tooltip" data-tip="Quantity">
<span class="badge h-5 w-5 badge-primary badge-sm text-xs">
{{ item.quantity }}
</span>