diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index fb186e55e..fdb4eed09 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -60,7 +60,7 @@
- <% if current_user and current_user.moderator? -%> + <% if @note.status != "hidden" and current_user and current_user.moderator? -%> " class="btn btn-light" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, "json") %>"> <% end -%> <% if current_user -%>