feat: search marketplace

This commit is contained in:
Vlad Stan 2023-07-12 17:21:41 +03:00
parent c3c141cac4
commit ca46a8f7f3
3 changed files with 52 additions and 9 deletions

View file

@ -224,7 +224,7 @@
: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>
<customer-market v-else :search-nostr="searchNostr" :relays="relays" :products="filterProducts"
<customer-market v-else :search-nostr="searchNostr" :relays="relays" :products="products" :search-text="searchText"
:styles="config?.opts ?? {}" @change-page="navigateTo" @update-data="updateData"></customer-market>
</div>
<div class="col-lg-2 col-md-1 col-sm-0 auto-width"></div>