diff --git a/lib/infobox/node.js b/lib/infobox/node.js index d7a5acd..0e7e993 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -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