Support a more verbose format for listing issues

Includes the feature type in the label
(re: https://github.com/osmlab/name-suggestion-index/issues/4543#issuecomment-791919134)
This commit is contained in:
Bryan Housel
2021-03-08 12:15:17 -05:00
parent a827e13a6d
commit c3e9e8c8ff
2 changed files with 21 additions and 11 deletions
+3 -1
View File
@@ -146,7 +146,9 @@ export function validationOutdatedTags() {
if (subtype === 'noncanonical_brand' && isOnlyAddingTags) {
messageID += '_incomplete';
}
return t.html(messageID, { feature: utilDisplayLabel(currEntity, context.graph()) });
return t.html(messageID, {
feature: utilDisplayLabel(currEntity, context.graph(), true /* verbose */)
});
}