feat: change quantity from shopping cart

This commit is contained in:
Vlad Stan 2023-07-07 09:56:45 +03:00
parent a77f3772f6
commit 2b0664b613
3 changed files with 15 additions and 13 deletions

View file

@ -205,7 +205,7 @@
<market-config v-if="activePage === 'market-config'" :merchants="merchants" @add-merchant="addMerchant"
@remove-merchant="removeMerchant"></market-config>
<shopping-cart-list v-else-if="activePage === 'shopping-cart-list'" :carts="shoppingCarts"
@remove-from-cart="removeProductFromCart"></shopping-cart-list>
@add-to-cart="addProductToCart" @remove-from-cart="removeProductFromCart"></shopping-cart-list>
<customer-stall v-else-if="!isLoading && activeStall" :stall="stalls.find(stall => stall.id == activeStall)"
:products="filterProducts" :stall-products="products.filter(p => p.stall_id == activeStall)"
:product-detail="activeProduct" :relays="relays" :account="account" :pool="pool" :styles="config?.opts ?? {}"