diff --git a/static/components/customer-market/customer-market.html b/static/components/customer-market/customer-market.html index d91ceb9..fddcda3 100644 --- a/static/components/customer-market/customer-market.html +++ b/static/components/customer-market/customer-market.html @@ -20,6 +20,7 @@ clearable v-model.trim="search" label="Search products" + @keydown.enter="searchProducts" hint="Enter search terms separated by spaces" > diff --git a/static/components/customer-market/customer-market.js b/static/components/customer-market/customer-market.js index b05b23e..f3335ba 100644 --- a/static/components/customer-market/customer-market.js +++ b/static/components/customer-market/customer-market.js @@ -36,6 +36,7 @@ async function customerMarket(path) { limit: 100 } ]) + productEvents.map(e => merchants.add(e.pubkey)) let stallEvents = await pool.list(relays, [ { diff --git a/static/js/market.js b/static/js/market.js index ec69bea..489558b 100644 --- a/static/js/market.js +++ b/static/js/market.js @@ -239,7 +239,6 @@ const market = async () => { } ]) .then(async events => { - // ;[stalls, products] = await this.updateData(events) this.events = events || [] this.events.map(eventToObj).map(e => { if (e.kind == 0) {