From 6b096eda64a9b51211530416b5194636c75b45d4 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 23 Mar 2020 12:54:14 -0700 Subject: [PATCH] Check to remove just `area=yes` after merging, not any `area` value --- modules/actions/merge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/actions/merge.js b/modules/actions/merge.js index 2149d22e5..d44cfdc18 100644 --- a/modules/actions/merge.js +++ b/modules/actions/merge.js @@ -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)) {