[TASK] Remove outdated link filter
This commit is contained in:
parent
a9630ffa78
commit
b3ef2460b3
@ -12,9 +12,7 @@ define(['moment', 'utils/router', 'leaflet', 'gui', 'helper', 'utils/language'],
|
||||
for (var i = 0; i < data.length; ++i) {
|
||||
nodes = nodes.concat(data[i].nodes);
|
||||
timestamp = data[i].timestamp;
|
||||
links = links.concat(data[i].links.filter(function (d) {
|
||||
return d.source !== undefined;
|
||||
}));
|
||||
links = links.concat(data[i].links);
|
||||
}
|
||||
|
||||
nodes.forEach(function (node) {
|
||||
|
Loading…
Reference in New Issue
Block a user