Skip to content

Commit

Permalink
show product inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
hootlex committed Jan 24, 2018
1 parent e56d562 commit 5ac9ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ProductList.vue
Expand Up @@ -7,7 +7,7 @@
>
<ul v-else>
<li v-for="product in products">
{{product.title}} - {{product.price}}
{{product.title}} - {{product.price}} - {{product.inventory}}
<button @click="addProductToCart(product)">Add to cart</button>
</li>
</ul>
Expand Down

0 comments on commit 5ac9ec9

Please sign in to comment.