From bf6218e8369cd5c1415a4ed973595100e34a2598 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sun, 22 Feb 2026 09:50:45 +1100 Subject: [PATCH] FE: mixed case on MACs broke node expansion/collapse Signed-off-by: jokob-sk --- front/network.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/network.php b/front/network.php index 70156619..671628fc 100755 --- a/front/network.php +++ b/front/network.php @@ -570,8 +570,8 @@ function getChildren(node, list, path, visited = []) // Loop through all items to find children of the current node for (var i in list) { const item = list[i]; - const parentMac = item.devParentMAC.toLowerCase() || ""; // null-safe - const nodeMac = node.devMac.toLowerCase() || ""; // null-safe + const parentMac = item.devParentMAC?.toLowerCase() || ""; // null-safe + const nodeMac = node.devMac?.toLowerCase() || ""; // null-safe if (parentMac != "" && parentMac == nodeMac && !hiddenMacs.includes(parentMac)) {