Skip to content

Commit

Permalink
Add check for whether reactable exists in internal/reports (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalpern committed Nov 17, 2018
1 parent a1be99e commit 30fb455
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/internal/feedback_messages/index.html.erb
Expand Up @@ -15,6 +15,7 @@
<% if @feedback_type == "abuse-reports" %>
<% @vomits.each do |reaction| %>
<% next unless reaction.user && reaction.reactable %>
<div class="row">
<div class="inner-row col-md-3">
<strong>🤢 <a href="<%= reaction.user.path %>">@<%= reaction.user.username %></a></strong>
Expand Down

0 comments on commit 30fb455

Please sign in to comment.