include offline nodes in nodes.json
parent
0d24e4518f
commit
54feeea4cd
|
@ -13,7 +13,7 @@ class D3MapBuilder:
|
|||
'macs': ', '.join(x.macs),
|
||||
'geo': x.gps.split(" ") if x.gps else None,
|
||||
'flags': x.flags
|
||||
} for x in nodes if x.flags['online']]
|
||||
} for x in nodes]
|
||||
|
||||
links = self._db.get_links()
|
||||
|
||||
|
|
|
@ -371,6 +371,9 @@ function update() {
|
|||
if (!visible.clients && d.flags.client)
|
||||
return false
|
||||
|
||||
if (!d.flags.online)
|
||||
return false
|
||||
|
||||
return true
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue