@deevroman commented on this pull request.
> +<% soft_anonymous_notes_limit_reached = !current_user &&
> @anonymous_notes_count >= 5
+ anonymous_notes_limit_reached = !current_user && @anonymous_notes_count >=
10
+ warn_class = anonymous_notes_limit_reached ? "alert-danger" :
"alert-warning" %>
Fixed it. I had to change the helpers a little according to the linter's hints
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6593#discussion_r2602792684
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6593/review/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev