This commit is contained in:
Tiago Vasconcelos 2023-03-08 15:57:34 +00:00
parent 5c4bcdf131
commit 02746ec170
2 changed files with 3 additions and 3 deletions

View file

@ -222,7 +222,6 @@ const market = async () => {
}) })
}) })
await Promise.resolve(sub) await Promise.resolve(sub)
this.$q.loading.hide()
this.stalls = await Array.from(stalls.values()) this.stalls = await Array.from(stalls.values())
this.products = Array.from(products.values()).map(obj => { this.products = Array.from(products.values()).map(obj => {
@ -234,6 +233,7 @@ const market = async () => {
} }
return obj return obj
}) })
this.$q.loading.hide()
pool.close(relays) pool.close(relays)
return return
}, },

View file

@ -57,7 +57,7 @@
<q-item-section avatar> <q-item-section avatar>
<q-avatar> <q-avatar>
<img <img
v-if="profiles.get(pub) && profiles.get(pub).picture" v-if="profiles.get(pub) && profiles.get(pub)?.picture"
:src="profiles.get(pub).picture" :src="profiles.get(pub).picture"
/> />
<img <img
@ -68,7 +68,7 @@
</q-item-section> </q-item-section>
<q-item-section> <q-item-section>
<q-item-label <q-item-label
v-if="profiles.get(pub) && profiles.get(pub).name" v-if="profiles.get(pub) && profiles.get(pub)?.name"
>{{ profiles.get(pub).name }}</q-item-label >{{ profiles.get(pub).name }}</q-item-label
> >
<q-item-label v-else <q-item-label v-else