mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 22:03:37 +02:00
Use warning severity for missing_tag validation if the user has not edited the feature
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user