Skip to content

Commit

Permalink
may not have a user
Browse files Browse the repository at this point in the history
  • Loading branch information
pushcx committed Mar 15, 2024
1 parent 3556111 commit 38f9b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/comments/_threads.html.erb
Expand Up @@ -168,7 +168,7 @@
<%# mods shouldn't see usernames for people flagging them %>
<% if comment.user_id == @user&.id %>
| <%= comment.vote_summary_for_user %>
<% elsif @user.is_moderator? %>
<% elsif @user&.is_moderator? %>
| <%= comment.vote_summary_for_moderator %>
<% end %>
<% elsif comment.current_flagged? %>
Expand Down

0 comments on commit 38f9b49

Please sign in to comment.