Describe the bug
On the detail page of an incident, a small thumbnail map is shown of the location. You can edit the location, but after saving the now location the map doesn't get updated. When you refresh the page the map correctly shows the last saved location again.
To Reproduce
Steps to reproduce the behavior:
Go to the list view of incidents in the back office.
Click on an incident.
Look at the map thumbnail
Click on the pencil icon next to the address.
Select a new location on the map.
Click on 'Locatie opslaan'.
Notice the address being updated.
Notice the map thumbnail showing the old location.
Refresh the page.
Notice the map thumbnail showing the new location.
Expected behavior
The map thumbnail should update to the new location directly after saving the new location, along with the updated address shown.
Additional context
It has been reported that the does update after consecutive updates, showing the location before the last save. Effectively being one step behind. I have not been able to reproduce this behavior, however. For me, the map didn't update, no matter how many times I change the location.
Describe the bug On the detail page of an incident, a small thumbnail map is shown of the location. You can edit the location, but after saving the now location the map doesn't get updated. When you refresh the page the map correctly shows the last saved location again.
To Reproduce Steps to reproduce the behavior:
Expected behavior The map thumbnail should update to the new location directly after saving the new location, along with the updated address shown.
Additional context It has been reported that the does update after consecutive updates, showing the location before the last save. Effectively being one step behind. I have not been able to reproduce this behavior, however. For me, the map didn't update, no matter how many times I change the location.