mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 09:42:56 +00:00
Don't flag nonstandard brands with a matching not:brand:wikidata tag (close #6577)
This commit is contained in:
@@ -103,7 +103,8 @@ export function validationOutdatedTags(context) {
|
||||
if (match.d) continue;
|
||||
|
||||
var brand = brands.brands[match.kvnd];
|
||||
if (brand && brand.tags['brand:wikidata']) {
|
||||
if (brand && brand.tags['brand:wikidata'] &&
|
||||
brand.tags['brand:wikidata'] !== entity.tags['not:brand:wikidata']) {
|
||||
subtype = 'noncanonical_brand';
|
||||
|
||||
var keepTags = ['takeaway'].reduce(function(acc, k) {
|
||||
|
||||
Reference in New Issue
Block a user