diff --git a/app/views/articles/_single_story.html.erb b/app/views/articles/_single_story.html.erb index 52a7ce8b7ab9f..8c66f2a7dd604 100644 --- a/app/views/articles/_single_story.html.erb +++ b/app/views/articles/_single_story.html.erb @@ -120,32 +120,13 @@
<% if story.public_reactions_count > 0 %> - <% if FeatureFlag.enabled?(:multiple_reactions) %> - "> -
- - <% ReactionCategory.for_view.reverse_each do |reaction_type| %> - <% next unless story.reaction_categories.include?(reaction_type.slug.to_s) %> - - <%= image_tag reaction_type.icon, size: "18x18" %> - - <% end %> - - <%= t("views.reactions.summary.count_html", - count: story.public_reactions_count, - start: tag("span", { class: %w[hidden s:inline] }, true), - end: "".html_safe) %> -
-
- <% else %> - "> - <%= crayons_icon_tag("small-heart", title: t("views.reactions.summary.title")) %> - <%= t("views.reactions.summary.count_html", - count: story.public_reactions_count, - start: tag("span", { class: %w[hidden s:inline] }, true), - end: "".html_safe) %> - - <% end %> + "> + <%= crayons_icon_tag("small-heart", title: t("views.reactions.summary.title")) %> + <%= t("views.reactions.summary.count_html", + count: story.public_reactions_count, + start: tag("span", { class: %w[hidden s:inline] }, true), + end: "".html_safe) %> + <% end %> <% if story.comments_count > 0 %> ">