fix: motorina0's camel-case nitpick

This commit is contained in:
Tiago Vasconcelos 2023-03-27 15:39:07 +01:00
parent d267583e42
commit a88f0ee1d2
3 changed files with 5 additions and 6 deletions

View file

@ -23,7 +23,7 @@
<shopping-cart
:cart="cart"
:cart-menu="cartMenu"
:products="stallproducts"
:products="stallProducts"
@add-to-cart="addToCart"
@remove-from-cart="removeFromCart"
@reset-cart="resetCart"

View file

@ -10,7 +10,7 @@ async function customerStall(path) {
'login-dialog',
'stall',
'products',
'stallproducts',
'stall-products',
'product-detail',
'change-page',
'relays',
@ -365,9 +365,8 @@ async function customerStall(path) {
this.qrCodeDialog.data.message = json.message
return cb()
}
let payment_request = json.payment_options.find(
o => o.type == 'ln'
).link
let payment_request = json.payment_options.find(o => o.type == 'ln')
.link
if (!payment_request) return
this.loading = false
this.qrCodeDialog.data.payment_request = payment_request

View file

@ -186,7 +186,7 @@
v-if="!isLoading && activeStall"
:stall="stalls.find(stall => stall.id == activeStall)"
:products="filterProducts"
:stallproducts="products.filter(p => p.stall_id == activeStall)"
:stall-products="products.filter(p => p.stall_id == activeStall)"
:product-detail="activeProduct"
:relays="relays"
:account="account"