This commit is contained in:
Tiago Vasconcelos 2023-03-08 15:57:34 +00:00
parent c10a9bfaf9
commit 8e5edd6e2b
2 changed files with 3 additions and 3 deletions

View file

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

View file

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