Fix duplicate temps declaration causing JavaScript error

This commit is contained in:
devmatrix 2026-02-20 23:21:53 +00:00
parent 894e927af4
commit 9d187c35d8
1 changed files with 0 additions and 2 deletions

View File

@ -864,8 +864,6 @@ def get_html(theme="dark"):
document.getElementById('val-sensors').textContent = temps.length; document.getElementById('val-sensors').textContent = temps.length;
// Temperature display - grouped by category // Temperature display - grouped by category
const temps = currentStatus.temperatures || [];
// Group temperatures by location // Group temperatures by location
const groups = {{ const groups = {{
cpu1: [], cpu2: [], nvme: [], raid: [], ambient: [], exhaust: [], inlet: [], pcie: [], chipset: [], other: [] cpu1: [], cpu2: [], nvme: [], raid: [], ambient: [], exhaust: [], inlet: [], pcie: [], chipset: [], other: []