From 06c432dbae22629a474a8f529024d7ec43f61498 Mon Sep 17 00:00:00 2001 From: qinglong Date: Sat, 13 Jun 2026 21:54:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Sentinel=20JS=20=E7=BC=BA=E5=A4=B1=20if(?= =?UTF-8?q?n.online)=20=E9=97=AD=E5=90=88=E6=8B=AC=E5=8F=B7=20=E2=86=92=20?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E8=A7=A3=E6=9E=90=E5=A4=B1=E8=B4=A5?= 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 3827872..57dc9f7 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -289,6 +289,7 @@ animateValue(body.querySelector('.cpu-val'), oldCpu, cpuVal, 1, '%'); animateValue(body.querySelector('.mem-val'), oldMem, memVal, 1, '%'); } + } // close if (n.online) card.querySelector('.node-time').innerHTML = '
'+(n.last_seen ? new Date(n.last_seen*1000).toLocaleTimeString() : '—')+'
'; }); }