mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-22 06:46:32 +00:00
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:
parent
a4d91adc1e
commit
27b72603e1
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue