Add some failsafes: don't let those special renderings render if they are not defined

This commit is contained in:
Pieter Vander Vennet 2021-05-10 23:46:50 +02:00
parent 06ddf37817
commit d336eafaa3
2 changed files with 3 additions and 2 deletions

View file

@ -131,7 +131,8 @@
"render":{
"en": "<a href='#{_closest_other_drinking_water_id}'>There is another drinking water fountain at {_closest_other_drinking_water_distance} meter</a>",
"nl": "<a href='#{_closest_other_drinking_water_id}'>Er bevindt zich een ander drinkwaterpunt op {_closest_other_drinking_water_distance} meter</a>"
}
},
"condition": "_closest_other_drinking_water_id~*"
}
]
}