mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Remove existing NSI keys before upgrading to a NSI preset
(closes #6575)
This commit is contained in:
@@ -102,6 +102,7 @@ export function validationOutdatedTags(context) {
|
||||
var brand = brands.brands[match.kvnd];
|
||||
if (brand && brand.tags['brand:wikidata']) {
|
||||
subtype = 'noncanonical_brand';
|
||||
nsiKeys.forEach(function(remove) { delete newTags[remove]; });
|
||||
Object.assign(newTags, brand.tags);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user