Skip to content

Commit

Permalink
FSR-0001 | fix aw map layers (#799)
Browse files Browse the repository at this point in the history
* add map layers to alerts and warnings

* add map layers to alerts and warnings

---------

Co-authored-by: Ash <[email protected]>
  • Loading branch information
ashleyjtaylor and Ash authored Aug 28, 2024
1 parent 8e24d74 commit 30d8421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/views/alerts-and-warnings.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h2 class="govuk-heading-m">
window.flood.model = {{ model.expose | dump(2) | safe }}
window.flood.model.mapButtonText = 'View map of flood warning and alert areas'
window.flood.model.mapButtonClass = 'defra-button-secondary defra-button-secondary--icon'
window.flood.model.mapLayers = {{ model.mapLayers | dump | safe }}
window.flood.model.mapLayers = 'ts,tw,ta'
window.flood.model.extent = window.flood.model.placeBbox
</script>
{% endblock %}

0 comments on commit 30d8421

Please sign in to comment.