fix multiple images for product card
This commit is contained in:
parent
c0a48bf444
commit
875cb83793
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<q-card class="card--product">
|
||||
<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"
|
||||
loading="lazy"
|
||||
spinner-color="white"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue