mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-22 00:25:43 +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>
This commit is contained in:
parent
f3f2116a2b
commit
d8e49622e5
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