mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-22 11:46:11 +02:00
Rerender local photos when last local photo is removed from list
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -208,7 +208,7 @@ export function svgLocalPhotos(projection, context, dispatch) {
|
||||
layer = layerEnter
|
||||
.merge(layer);
|
||||
|
||||
if (_photos && _photos.length !== 0) {
|
||||
if (_photos) {
|
||||
display_markers(_photos);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user