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

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

* Update frontend/components/Item/Card.vue

---------

Co-authored-by: bee-eater <bee-eater@users.noreply.github.com>
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
Former-commit-id: d8e49622e5
This commit is contained in:
Marcel K 2024-01-04 22:10:44 +01:00 committed by GitHub
parent a4d91adc1e
commit 27b72603e1
1 changed files with 1 additions and 1 deletions

View File

@ -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>