mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-15 22:51:37 -07:00
Empty Devices error #568🩹
This commit is contained in:
+1
-1
@@ -697,7 +697,7 @@ function getNumberOfChildren(mac, devices)
|
|||||||
|
|
||||||
$.each(devices, function(index, dev) {
|
$.each(devices, function(index, dev) {
|
||||||
|
|
||||||
if(dev.dev_Network_Node_MAC_ADDR.trim() == mac.trim())
|
if(dev.dev_Network_Node_MAC_ADDR != null && dev.dev_Network_Node_MAC_ADDR.trim() == mac.trim())
|
||||||
{
|
{
|
||||||
childrenCount++;
|
childrenCount++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user