Rerender local photos when last local photo is removed from list

This commit is contained in:
Martin Raifer
2023-12-06 12:51:46 +01:00
parent 4bf79e9f1a
commit edb176f513
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -46,6 +46,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
#### :white_check_mark: Validation
#### :bug: Bugfixes
* Show turn restriction editor also when there is only one possible "to" way, as there might exist restrictions with that way as _via_ ([#9983])
* Local photos: Fix bug which prevented the last image from being removed from the map when removed from the list
#### :earth_asia: Localization
#### :hourglass: Performance
#### :mortar_board: Walkthrough / Help
+1 -1
View File
@@ -208,7 +208,7 @@ export function svgLocalPhotos(projection, context, dispatch) {
layer = layerEnter
.merge(layer);
if (_photos && _photos.length !== 0) {
if (_photos) {
display_markers(_photos);
}
}