We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b435bef commit 56a4aa4Copy full SHA for 56a4aa4
cli-socks/src/components/Product.vue
@@ -11,7 +11,7 @@
11
<i v-for="i in averageReviewScore" class="fa fa-star" :key="i"></i>
12
</h1>
13
14
- <div v-if="product.reviews">All reviews:</div>
+ <div v-if="product.reviews.length">All reviews:</div>
15
<div v-for="j in product.reviews" :key="j.name+j.rating">
16
<label>{{ j.name}}: </label>
17
<i v-for="k in j.rating" class="fa fa-star" :key="k"></i>
0 commit comments