From 17ecb81f12a467ae45a4d2a5337dd5ca82514f38 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Mon, 13 Mar 2023 12:04:15 +0000 Subject: [PATCH] clean up --- static/components/customer-market/customer-market.html | 2 +- static/components/customer-market/customer-market.js | 1 + static/js/market.js | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) 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) {