fix meshclients for orange nodes
This commit is contained in:
parent
1641bc2437
commit
7eb0675be0
|
@ -157,7 +157,9 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"],
|
|||
}
|
||||
|
||||
function getMeshClients(node) {
|
||||
var meshclients = node.statistics.clients
|
||||
var meshclients = 0
|
||||
if (node.statistics && !isNaN(node.statistics.clients))
|
||||
meshclients = node.statistics.clients
|
||||
|
||||
if (!node)
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue