<!-- Please read the contributing guidelines before making a PR: https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md
Pay particular attention to the section on how to present PRs: https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md#pull-requests --> ### Description Would solve #867 by not showing the adding note button unless the note layer is active. <img width="406" height="721" alt="image" src="https://github.com/user-attachments/assets/269e7118-c571-4619-9ad5-3524b9cbb091" /> <img width="406" height="721" alt="image" src="https://github.com/user-attachments/assets/90eef023-15f8-4648-a4a8-d20901d1256f" /> ### How has this been tested? Run locally via docker compose, open the locally hosted website in my browser. Toggle the note layer via the layer panel, and the add note button appears and disappears. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6890 -- Commit Summary -- * Disable add note option when the note layer is not active -- File Changes -- M app/assets/javascripts/leaflet.note.js (6) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6890.patch https://github.com/openstreetmap/openstreetmap-website/pull/6890.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6890 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
