fix the build
This commit is contained in:
parent
6bef0428cc
commit
ef07045aca
|
@ -69,7 +69,7 @@ registerButton('like-count', attrs => {
|
||||||
const title = attrs.liked
|
const title = attrs.liked
|
||||||
? count === 1 ? 'post.has_likes_title_only_you' : 'post.has_likes_title_you'
|
? count === 1 ? 'post.has_likes_title_only_you' : 'post.has_likes_title_you'
|
||||||
: 'post.has_likes_title';
|
: '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',
|
return { action: 'toggleWhoLiked',
|
||||||
title,
|
title,
|
||||||
|
|
Loading…
Reference in New Issue