[Flags] Only show the most recent deletion flag to non-staff (#717)

This commit is contained in:
Tarrgon 2024-08-11 16:15:38 -04:00 committed by GitHub
parent 60f5170907
commit 6fd03b0507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,5 +18,8 @@
<span class="resolved">RESOLVED</span>
<% end %>
</li>
<% if post.is_deleted? && flag.is_deletion && !CurrentUser.is_janitor? %>
<% break %>
<% end %>
<% end %>
</ul>