Compare commits

..

3 Commits

Author SHA1 Message Date
Jokob-sk
fdf381d565 Merge branch 'main' of https://github.com/jokob-sk/Pi.Alert 2024-02-17 07:26:15 +11:00
Jokob-sk
20e29ecd15 Empty Devices error #568🩹 2024-02-17 07:25:42 +11:00
github-actions[bot]
a6ce702487 [🤖Automation] Update README with sponsors information 2024-02-16 11:53:42 +00:00
2 changed files with 1 additions and 2 deletions

View File

@@ -103,7 +103,6 @@ Thank you to all the wonderful people who are sponsoring this project (=preventi
<!-- SPONSORS-LIST DO NOT MODIFY BELOW -->
| All Sponsors |
|---|
| [dtech77pl](https://github.com/dtech77pl) |
| [Tony Hanratty](https://github.com/thanratty) |
<!-- SPONSORS-LIST DO NOT MODIFY ABOVE -->

View File

@@ -697,7 +697,7 @@ function getNumberOfChildren(mac, devices)
$.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++;
}