Skip to content

Commit

Permalink
No favorites when unauthenticated (aws-samples#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
damiendaemon authored and daemon-joe committed Feb 4, 2022
1 parent daa3404 commit 0f605b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web-ui/src/public/ProductDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</div>
<button class="add-to-cart-btn btn" @click="addProductToCart" :disabled="outOfStock || cartHasMaxAmount">
Add to Cart
</button><div><Favoriting :productId="product.id" :username="user.username"/></div>
</button><Favoriting v-if="user" :productId="product.id" :username="user.username"/>
</div>

<p>{{ product.description }}</p>
Expand Down

0 comments on commit 0f605b5

Please sign in to comment.