mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-30 03:39:36 +02:00
Load issue fixes dynamically instead of cacheing them (close #7037)
This commit is contained in:
@@ -27,11 +27,13 @@ export function validationHelpRequest(context) {
|
||||
var entity = context.hasEntity(this.entityIds[0]);
|
||||
return entity ? t('issues.fixme_tag.message', { feature: utilDisplayLabel(entity, context) }) : '';
|
||||
},
|
||||
fixes: [
|
||||
new validationIssueFix({
|
||||
title: t('issues.fix.address_the_concern.title')
|
||||
})
|
||||
],
|
||||
dynamicFixes: function() {
|
||||
return [
|
||||
new validationIssueFix({
|
||||
title: t('issues.fix.address_the_concern.title')
|
||||
})
|
||||
];
|
||||
},
|
||||
reference: showReference,
|
||||
entityIds: [entity.id]
|
||||
})];
|
||||
|
||||
Reference in New Issue
Block a user