← back to Exo
fix dashboard case sensitive model id
20d73e90cd75c6f6b00efe70ae3454a9c2c04a78 · 2025-11-26 18:16:32 +0000 · Alex Cheema
Files touched
Diff
commit 20d73e90cd75c6f6b00efe70ae3454a9c2c04a78
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Wed Nov 26 18:16:32 2025 +0000
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;
← e56daa7c render download progress properly
·
back to Exo
·
todo for layer-independent parameters in get_allow_patterns b43d3056 →