fix multiple images for product card

This commit is contained in:
Tiago Vasconcelos 2023-04-03 21:25:34 +01:00
parent c0a48bf444
commit 875cb83793

View file

@ -1,6 +1,6 @@
<q-card class="card--product"> <q-card class="card--product">
<q-img <q-img
:src="product.image ? product.image : '/nostrmarket/static/images/placeholder.png'" :src="product.images.length > 0 ? product.images[0] : '/nostrmarket/static/images/placeholder.png'"
alt="Product Image" alt="Product Image"
loading="lazy" loading="lazy"
spinner-color="white" spinner-color="white"