@nenad-vujicic commented on this pull request.


> @@ -43,7 +43,7 @@ def show
 
     @note_includes_anonymous = @note.author.nil? || @note_comments.find { 
|comment| comment.author.nil? }
 
-    @note_comments = @note_comments.drop(1) if @note.author.nil? || 
@note.author.active?
+    @note_comments = @note_comments.drop(1) if (@note.author.nil? || 
@note.author.active?) && @note.description.present?

Thank you very much. I think I got it .. Now it drops if first comment (of 
`@note_comments`) is `opened` and uses same check in helper routine!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5712#discussion_r1965447616
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5712/review/2632994...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to