File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,6 +203,13 @@ <h5 v-show="!denomIsSats" class="q-mt-none q-mb-sm">
203203 >
204204 < q-card class ="full-height " flat bordered v-ripple >
205205 < div @click ="addToCart(item) ">
206+ < q-badge
207+ v-if ="itemCartQty(item.id) > 0 "
208+ class ="z-top q-ma-sm "
209+ color ="primary "
210+ :label ="itemCartQty(item.id) "
211+ floating
212+ > </ q-badge >
206213 < q-img :src ="item.image || null " :ratio ="4/3 " fit ="contain ">
207214 </ q-img >
208215
@@ -226,6 +233,13 @@ <h5 v-show="!denomIsSats" class="q-mt-none q-mb-sm">
226233 >
227234 < q-card class ="full-height " flat bordered v-ripple >
228235 < div @click ="addToCart(item) ">
236+ < q-badge
237+ v-if ="itemCartQty(item.id) > 0 "
238+ class ="z-top q-ma-sm "
239+ color ="primary "
240+ :label ="itemCartQty(item.id) "
241+ floating
242+ > </ q-badge >
229243 < q-img :src ="item.image || null " :ratio ="4/3 " fit ="contain ">
230244 </ q-img >
231245
You can’t perform that action at this time.
0 commit comments