productos relacionados

This commit is contained in:
Jaume Solís 2024-04-16 19:41:17 +02:00
parent 3e8e12f913
commit 9b3688f8fc
1 changed files with 2 additions and 1 deletions

View File

@ -336,7 +336,7 @@ export default defineComponent({
<Container cardContainer class="no-padding"> <Container cardContainer class="no-padding">
<template <template
v-for="( v-for="(
{ image, discount, isNew, name, price, id }, i { image, discount, isNew, name, price, id, postalCode }, i
) in products.data" ) in products.data"
:key="id" :key="id"
> >
@ -348,6 +348,7 @@ export default defineComponent({
:imgSrc="image" :imgSrc="image"
:isNew="isNew" :isNew="isNew"
:id="id" :id="id"
:hasPostalCode="(postalCode !== 'undefined')?true:false"
/> />
</template> </template>
</Container> </Container>