fix the build

This commit is contained in:
Arpit Jalan 2018-03-30 02:09:48 +05:30
parent 6bef0428cc
commit ef07045aca

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 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,