diff --git a/app/javascript/mastodon/components/status_emoji_reactions_bar.jsx b/app/javascript/mastodon/components/status_emoji_reactions_bar.jsx
index 5592c04f4c..84fb45f4f7 100644
--- a/app/javascript/mastodon/components/status_emoji_reactions_bar.jsx
+++ b/app/javascript/mastodon/components/status_emoji_reactions_bar.jsx
@@ -7,6 +7,8 @@ import classNames from 'classnames';
import ImmutablePropTypes from 'react-immutable-proptypes';
+import { isHideItem } from 'mastodon/initial_state';
+
import EmojiView from './emoji_view';
class EmojiReactionButton extends PureComponent {
@@ -41,12 +43,14 @@ class EmojiReactionButton extends PureComponent {
'toggled': me,
};
+ const countView = count !== undefined && {count};
+
return (
);
}
@@ -76,6 +80,8 @@ class StatusEmojiReactionsBar extends PureComponent {
render () {
const { emojiReactions, myReactionOnly } = this.props;
+ const isShowCount = !isHideItem('emoji_reaction_count');
+
const emojiButtons = Array.from(emojiReactions)
.filter(emoji => emoji.get('count') !== 0)
.filter(emoji => !myReactionOnly || emoji.get('me'))
@@ -83,7 +89,7 @@ class StatusEmojiReactionsBar extends PureComponent {