Don't offer to upgrade brands without a brand:wikidata tag

This commit is contained in:
Bryan Housel
2019-05-19 00:15:31 -04:00
parent 901e808c76
commit 0982379187
+1 -1
View File
@@ -68,7 +68,7 @@ export function validationOutdatedTags() {
if (match.d) continue;
var brand = brands.brands[match.kvnd];
if (brand) {
if (brand && brand.tags['brand:wikidata']) {
Object.assign(newTags, brand.tags);
break;
}