X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2cfc030bbac65d8cb687ee17e6fbf18ffa5ea2cc..040f2c4fb356727e681aa90a2282590747ace2d1:/app/views/notes/show.html.erb diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index b65926b5f..d0dcdeb1b 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -5,7 +5,7 @@

<%= t(".description") %>

- <%= note_description(@note.author, @note.description).to_html %> + <%= note_description(@note.author, @note.description, current_user&.moderator? ? @note.comments.unscope(:where => :visible).first : @note.comments.first).to_html %>