diff --git a/modules/behavior/paste.js b/modules/behavior/paste.js index f472e14cb..137d79298 100644 --- a/modules/behavior/paste.js +++ b/modules/behavior/paste.js @@ -65,7 +65,7 @@ export function behaviorPaste(context) { extent._extend(oldEntity.extent(oldGraph)); context.perform( - actionChangeTags(newEntity.id, _.omit(newEntity.tags, omitTag)) + actionChangeTags(newEntity.id, _.omitBy(newEntity.tags, omitTag)) ); // Exclude child nodes from newIDs if their parent way was also copied. diff --git a/modules/services/taginfo.js b/modules/services/taginfo.js index 78dcde620..de0a23e69 100644 --- a/modules/services/taginfo.js +++ b/modules/services/taginfo.js @@ -59,7 +59,7 @@ function setSortMembers(params) { function clean(params) { - return _.omit(params, 'geometry', 'debounce'); + return _.omit(params, ['geometry', 'debounce']); }