MKWS "targets" widget now use team.targetName() to emit the
displayName when known, falling back to the old behaviour of using the
ID when that is not known (because we have yet to get back a targets
facet that includes this target).
var cleandata = [];
for (var i = 0; i < data.length; i++) {
var cur = {};
- cur.id = data[i].id;
+ cur.id = that.team.targetName(data[i].id);
cur.hits = data[i].hits;
cur.diagnostic = data[i].diagnostic;
cur.message = data[i].message;