Check to remove just area=yes after merging, not any area value

This commit is contained in:
Quincy Morgan
2020-03-23 12:54:14 -07:00
parent 5125c04a58
commit 6b096eda64
+1 -1
View File
@@ -49,7 +49,7 @@ export function actionMerge(ids) {
graph = graph.remove(removeNode);
});
if (target.tags.area) {
if (target.tags.area === 'yes') {
var tags = Object.assign({}, target.tags); // shallow copy
delete tags.area;
if (osmTagSuggestingArea(tags)) {