From 0a3269a0d74a310ab51159e0bc9df792e79985ef Mon Sep 17 00:00:00 2001 From: qinglong Date: Sun, 14 Jun 2026 12:01:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20renderNodes=20try-catch=20+=20=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E9=97=AD=E5=90=88=E6=8B=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/sentinel/dashboard.html | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 4c72540..7c3a89e 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -362,6 +362,7 @@ } } } catch(e) { console.error('renderNodes error:', e); } + } function bar(v) { return v < 60 ? 'bar-green' : (v < 85 ? 'bar-yellow' : 'bar-red'); } function fmtSizeGB(p) { var u=p.used_gb||0, t=p.total_gb||0; return fmtSize(u*1073741824)+' / '+fmtSize(t*1073741824); }