From edd993343091391c0b823f6d5def3f7b33b5854c Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 13 Jun 2026 16:51:44 -0400 Subject: [PATCH] fix: move script block outside foreach to prevent const redeclaration error --- views/dashboard/index.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/views/dashboard/index.php b/views/dashboard/index.php index ce828c3..3ca08f3 100755 --- a/views/dashboard/index.php +++ b/views/dashboard/index.php @@ -154,6 +154,12 @@ $aggregatedMetrics = $aggregatedMetrics ?? []; · + + + + + + @@ -298,9 +304,4 @@ if (aggregatedData.length > 0) { setInterval(refreshAggregatedChart, 30000); - - - - -