From a2df2589483c09afe6d26d5b40a0b7aaa9b8610e Mon Sep 17 00:00:00 2001 From: Bartosz Herba Date: Wed, 2 Feb 2022 16:17:08 +0100 Subject: [PATCH] fix(theme): fix add to wishlist button on catgory listing view for a mobile devices --- packages/theme/pages/Category.vue | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/theme/pages/Category.vue b/packages/theme/pages/Category.vue index bd3c89fc2..d32679f2a 100644 --- a/packages/theme/pages/Category.vue +++ b/packages/theme/pages/Category.vue @@ -197,8 +197,8 @@ :score-rating="productGetters.getAverageRating(product)" :reviews-count="productGetters.getTotalReviews(product)" :is-in-wishlist="isInWishlist({product})" - :is-in-wishlist-icon="isAuthenticated ? 'heart_fill' : ''" - :wishlist-icon="isAuthenticated ? 'heart' : ''" + :is-in-wishlist-icon="isAuthenticated ? '' : ''" + :wishlist-icon="isAuthenticated ? '' : ''" :link=" localePath( `/p/${productGetters.getProductSku( @@ -207,6 +207,7 @@ ) " @click:add-to-cart="addItemToCart({ product, quantity: 1 })" + @click:wishlist="addItemToWishlist(product)" >