chore: code clean-up

This commit is contained in:
Vlad Stan 2023-07-17 15:15:09 +03:00
parent 0226fc3f79
commit c61b61aafa
3 changed files with 3 additions and 6 deletions

View file

@ -21,9 +21,7 @@
</q-card> </q-card>
</div> </div>
</div> </div>
<q-banner v-if="styles?.ui?.banner" class="row q-pa-none q-mb-md">
<q-img :src="styles.ui.banner" style="width: 100%; height: 250px" cover></q-img>
</q-banner>
<q-infinite-scroll v-if="showProducts" @load="onLoad" :offset="250"> <q-infinite-scroll v-if="showProducts" @load="onLoad" :offset="250">
<div class="row q-col-gutter-md"> <div class="row q-col-gutter-md">

View file

@ -11,7 +11,6 @@ async function customerMarket(path) {
'relays', 'relays',
'update-products', 'update-products',
'update-stalls', 'update-stalls',
'styles',
'search-text', 'search-text',
'filter-categories' 'filter-categories'

View file

@ -294,8 +294,8 @@
@change-page="navigateTo"></customer-stall-list> @change-page="navigateTo"></customer-stall-list>
<customer-market v-else :search-nostr="searchNostr" :relays="relays" :filtered-products="filterProducts" <customer-market v-else :search-nostr="searchNostr" :relays="relays" :filtered-products="filterProducts"
:search-text="searchText" :filter-categories="filterCategories" :styles="config?.opts ?? {}" :search-text="searchText" :filter-categories="filterCategories" @change-page="navigateTo"
@change-page="navigateTo" @update-data="updateData" @add-to-cart="addProductToCart"></customer-market> @update-data="updateData" @add-to-cart="addProductToCart"></customer-market>
</div> </div>
</div> </div>