From 0d9958ac7c507fbafeead87fd56a37b5e3ad7c4e Mon Sep 17 00:00:00 2001 From: hay-kot Date: Sat, 29 May 2021 15:58:06 -0800 Subject: [PATCH] fix favorite color issue --- frontend/src/components/Recipe/FavoriteBadge.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Recipe/FavoriteBadge.vue b/frontend/src/components/Recipe/FavoriteBadge.vue index 458fc2916..d6de97763 100644 --- a/frontend/src/components/Recipe/FavoriteBadge.vue +++ b/frontend/src/components/Recipe/FavoriteBadge.vue @@ -3,7 +3,7 @@ small @click.prevent="toggleFavorite" v-if="isFavorite || showAlways" - :color="isFavorite && buttonStyle ? 'secondary' : 'primary'" + :color="buttonStyle ? 'primary' : 'secondary'" :icon="!buttonStyle" :fab="buttonStyle" >