clean up
This commit is contained in:
parent
7882c9bbcc
commit
17ecb81f12
3 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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, [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue