mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:19:27 +08:00
liked icon should use d-icon
This commit is contained in:
parent
cafd1241b9
commit
c5dbfe1886
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user