Use error for missing tags on all newly added features

This commit is contained in:
Quincy Morgan
2019-02-05 16:19:43 -05:00
parent 1055c239ed
commit 26dd7a4148
+3 -3
View File
@@ -33,9 +33,9 @@ export function validationMissingTag() {
var entityLabel = utilDisplayLabel(entity, context);
issues.push(new validationIssue({
type: type,
// use error if created or modified, else warning
severity: entity.v ? 'error' : 'warning',
message: t('issues.missing_tag.message', {feature: entityLabel}),
// error if created or modified, else warning
severity: !entity.version || entity.v ? 'error' : 'warning',
message: t('issues.missing_tag.message', { feature: entityLabel }),
tooltip: t('issues.missing_tag.tip'),
entities: [entity],
fixes: [