mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 08:39:56 +02:00
Use error for missing tags on all newly added features
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user