mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
fix the build
This commit is contained in:
parent
6bef0428cc
commit
ef07045aca
@ -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 contents = (attrs.post_number == 1) ? I18n.t("post.has_likes", { count }) : count;
|
||||
const contents = (attrs.post_number === 1) ? I18n.t("post.has_likes", { count }) : count;
|
||||
|
||||
return { action: 'toggleWhoLiked',
|
||||
title,
|
||||
|
Loading…
Reference in New Issue
Block a user