Small improvements to the charging station theme, don't update tagging of new features if they are selected

This commit is contained in:
Pieter Vander Vennet 2021-10-14 20:31:04 +02:00
parent fea020956a
commit 7e053b3ada
4 changed files with 3655 additions and 3681 deletions

View file

@ -47,6 +47,11 @@ export default class SelectedElementTagsUpdater {
return;
}
if(id.indexOf("-") >= 0){
// This is a new object
return;
}
OsmObject.DownloadPropertiesOf(id).then(tags => {
SelectedElementTagsUpdater.applyUpdate(state, tags, id)
}).catch(e => {