main: unseen nodes are online
This commit is contained in:
parent
f7bc41dcec
commit
8d4cc87994
@ -61,8 +61,13 @@ function (moment, Router, L, GUI, numeral) {
|
||||
var graph = dataGraph.batadv
|
||||
|
||||
graph.nodes.forEach( function (d) {
|
||||
if (d.node_id in graphnodes)
|
||||
if (d.node_id in graphnodes) {
|
||||
d.node = graphnodes[d.node_id]
|
||||
if (d.unseen) {
|
||||
d.node.flags.online = true
|
||||
d.node.flags.unseen = true
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
graph.links.forEach( function (d) {
|
||||
|
Loading…
Reference in New Issue
Block a user