mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Don't replace flag:name tag - it's expected to be in local language
This commit is contained in:
@@ -250,8 +250,8 @@ export function validationOutdatedTags() {
|
||||
// We are keeping the match at this point
|
||||
subtype = 'noncanonical_brand';
|
||||
|
||||
// Preserve some tags values that we don't want NSI to overwrite.
|
||||
const keepTags = ['takeaway', 'building']
|
||||
// Preserve some tag values that we don't want NSI to overwrite.
|
||||
const keepTags = ['building', 'flag:name', 'takeaway']
|
||||
.reduce((acc, k) => {
|
||||
if (newTags[k]) acc[k] = newTags[k];
|
||||
return acc;
|
||||
|
||||
Reference in New Issue
Block a user