liked icon should use d-icon

This commit is contained in:
Kris 2018-05-24 11:08:13 -04:00
parent cafd1241b9
commit c5dbfe1886

View File

@ -69,7 +69,7 @@ registerButton('like-count', attrs => {
const title = attrs.liked
? count === 1 ? 'post.has_likes_title_only_you' : 'post.has_likes_title_you'
: 'post.has_likes_title';
const icon = attrs.yours ? 'heart' : '';
const icon = attrs.yours ? 'd-liked' : '';
const additionalClass = attrs.yours ? 'my-likes' : 'regular-likes';
return { action: 'toggleWhoLiked',