From 20d73e90cd75c6f6b00efe70ae3454a9c2c04a78 Mon Sep 17 00:00:00 2001 From: Alex Cheema Date: Wed, 26 Nov 2025 18:16:32 +0000 Subject: [PATCH] fix dashboard case sensitive model id --- dashboard/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/index.html b/dashboard/index.html index c08b40e2..896b79a9 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -2344,7 +2344,7 @@ nodeG.appendChild(titleEl); // --- Device Specific Icon Drawing --- - if (modelId === "Mac Studio") { + if (modelId.toLowerCase() === "mac studio") { iconBaseWidth = nodeRadius * 1.25; // Slightly wider based on typical Studio proportions iconBaseHeight = nodeRadius * 0.85; // And a bit flatter than a perfect cube const x = nodeInfo.x - iconBaseWidth / 2; @@ -2456,7 +2456,7 @@ led.setAttribute('fill', 'var(--exo-light-gray)'); // Subtle LED color specificIconGroup.appendChild(led); - } else if (modelId === "Mac Mini") { + } else if (modelId.toLowerCase() === "mac mini") { iconBaseWidth = nodeRadius * 1.3; // Mini is wide iconBaseHeight = nodeRadius * 0.7; // and quite flat const x = nodeInfo.x - iconBaseWidth / 2; @@ -2553,7 +2553,7 @@ led.setAttribute('fill', 'var(--exo-light-gray)'); specificIconGroup.appendChild(led); - } else if (modelId === "MacBook Pro") { + } else if (modelId.toLowerCase() === "macbook pro") { iconBaseWidth = nodeRadius * 1.6; // Max width of the base iconBaseHeight = nodeRadius * 1.15; // Overall height of the open laptop visual const x = nodeInfo.x - iconBaseWidth / 2;