mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 14:38:05 +02:00
Take a graph parameter in utilDisplayLabel instead of the context
This commit is contained in:
@@ -35,7 +35,7 @@ export function validationIncompatibleSource() {
|
||||
message: function(context) {
|
||||
var entity = context.hasEntity(this.entityIds[0]);
|
||||
return entity ? t('issues.incompatible_source.' + invalidSource.id + '.feature.message', {
|
||||
feature: utilDisplayLabel(entity, context)
|
||||
feature: utilDisplayLabel(entity, context.graph())
|
||||
}) : '';
|
||||
},
|
||||
reference: getReference(invalidSource.id),
|
||||
|
||||
Reference in New Issue
Block a user