gluon-status-page: fix neighbour purging
notUpdated is a Set, to a for-in loop doesn't work. Fixes #657
This commit is contained in:
parent
bb8d1783b3
commit
79bc3a8d4b
@ -198,11 +198,11 @@ function (Helper, SignalGraph, Signal) {
|
||||
notUpdated.delete(id)
|
||||
}
|
||||
|
||||
for (id in notUpdated) {
|
||||
notUpdated.forEach(function (id) {
|
||||
managedNeighbours[id].views.forEach( function (d) { d.destroy() })
|
||||
colors.push(managedNeighbours[id].color)
|
||||
delete managedNeighbours[id]
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user