Use warning severity for missing_tag validation if the user has not edited the feature

This commit is contained in:
Quincy Morgan
2019-02-05 15:58:20 -05:00
parent bfefea422b
commit beab323b20
+2 -1
View File
@@ -33,7 +33,8 @@ export function validationMissingTag() {
var entityLabel = utilDisplayLabel(entity, context);
issues.push(new validationIssue({
type: type,
severity: 'error',
// use error if created or modified, else warning
severity: entity.v ? 'error' : 'warning',
message: t('issues.missing_tag.message', {feature: entityLabel}),
tooltip: t('issues.missing_tag.tip'),
entities: [entity],