Fix dashboard temp visibility filter

This commit is contained in:
2026-06-05 03:41:55 -06:00
parent a3b335e708
commit 4fe7491afa
2 changed files with 2 additions and 2 deletions
@@ -363,7 +363,7 @@ function render(data){
<div class="item"><span>Cell ${i+1}</span><strong>${fmt(v,3)} V</strong></div>`).join("") ||
`<div class="item"><span>No cell data</span><strong class="muted">--</strong></div>`;
const visibleTemps=(data.temps||[]).filter(t=>t.enabled && t.address && t.online && typeof t.temperature_f==="number");
const visibleTemps=(data.temps||[]).filter(t=>t.enabled && t.online && typeof t.temperature_f==="number");
$("temps").innerHTML=visibleTemps.map(t=>`
<div class="item">
<span>${t.name||t.id}</span>