refactor: code clean-up
This commit is contained in:
parent
51f5f0cd1c
commit
d810b7c5d5
4 changed files with 2 additions and 427 deletions
|
|
@ -144,9 +144,7 @@
|
|||
|
||||
<customer-stall v-else-if="activePage === 'customer-stall'"
|
||||
: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 ?? {}"
|
||||
@login-dialog="openAccountDialog" @change-page="navigateTo" @add-to-cart="addProductToCart"></customer-stall>
|
||||
:product-detail="activeProduct" @change-page="navigateTo" @add-to-cart="addProductToCart"></customer-stall>
|
||||
|
||||
<div v-else>
|
||||
<customer-stall-list v-if="groupByStall" :stalls="filterStalls"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue