From 882561e598c84623d3a2acb5fd92880c706882df Mon Sep 17 00:00:00 2001 From: accius Date: Sun, 1 Feb 2026 01:38:58 -0500 Subject: [PATCH] Update index.html --- public/index.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 6ecc0c2..1cbf754 100644 --- a/public/index.html +++ b/public/index.html @@ -1889,9 +1889,17 @@ {/* 24 hour cells */} {Array.from({ length: 24 }, (_, hour) => { - const bandData = hourlyPredictions?.[band]; - const hourData = bandData?.find(h => h.hour === hour); - const rel = hourData?.reliability || 0; + // For current hour, use currentBands (same hybrid data as bars view) + // For other hours, use hourlyPredictions + let rel; + if (hour === currentHour) { + const currentBandData = currentBands.find(b => b.band === band); + rel = currentBandData?.reliability || 0; + } else { + const bandData = hourlyPredictions?.[band]; + const hourData = bandData?.find(h => h.hour === hour); + rel = hourData?.reliability || 0; + } return (