]> git.openstreetmap.org Git - rails.git/commit
Removes dropping note's first comment
authorNenad Vujicic <nenadus@gmail.com>
Tue, 4 Feb 2025 16:30:10 +0000 (17:30 +0100)
committerNenad Vujicic <nenadus@gmail.com>
Thu, 6 Feb 2025 10:43:53 +0000 (11:43 +0100)
commit592b28fd23534946b92ace7858287727e4afc169
treeb1948a2611abcb1c7ab4bb5d5e071ea99b5df874
parent85bc737dee2523d0c880fc14280d2e1955cc447c
Removes dropping note's first comment

Removes dropping note's first visible comment in case of deleted note's author. After adding displaying "deleted" as note's description, first visible comment is now displayed as note's comment. Moves logic of calculating which note comments will be displayed and if note contains anonymous author / comments to the controller.
app/controllers/notes_controller.rb
app/views/notes/show.html.erb