This commit is contained in:
Tiago Vasconcelos 2023-03-13 12:04:15 +00:00
parent 7882c9bbcc
commit 17ecb81f12
3 changed files with 2 additions and 2 deletions

View file

@ -20,6 +20,7 @@
clearable clearable
v-model.trim="search" v-model.trim="search"
label="Search products" label="Search products"
@keydown.enter="searchProducts"
hint="Enter search terms separated by spaces" hint="Enter search terms separated by spaces"
> >
<template v-slot:after> <template v-slot:after>
@ -29,7 +30,6 @@
icon="search" icon="search"
label="Search" label="Search"
@click="searchProducts" @click="searchProducts"
@keydown.enter="searchProducts"
/> />
</template> </template>
</q-input> </q-input>

View file

@ -36,6 +36,7 @@ async function customerMarket(path) {
limit: 100 limit: 100
} }
]) ])
productEvents.map(e => merchants.add(e.pubkey)) productEvents.map(e => merchants.add(e.pubkey))
let stallEvents = await pool.list(relays, [ let stallEvents = await pool.list(relays, [
{ {

View file

@ -239,7 +239,6 @@ const market = async () => {
} }
]) ])
.then(async events => { .then(async events => {
// ;[stalls, products] = await this.updateData(events)
this.events = events || [] this.events = events || []
this.events.map(eventToObj).map(e => { this.events.map(eventToObj).map(e => {
if (e.kind == 0) { if (e.kind == 0) {