From 437cd27bd9f8ad3d82b23b08394a7606c9227c88 Mon Sep 17 00:00:00 2001 From: DiTus Date: Thu, 26 Feb 2026 15:02:43 +0100 Subject: [PATCH] Fix: Move console.log after activeIndicators declaration Fixes ReferenceError from trying to access variable before initialization --- src/api/dashboard/static/js/ui/indicators-panel-new.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/dashboard/static/js/ui/indicators-panel-new.js b/src/api/dashboard/static/js/ui/indicators-panel-new.js index 66d50f2..17323fd 100644 --- a/src/api/dashboard/static/js/ui/indicators-panel-new.js +++ b/src/api/dashboard/static/js/ui/indicators-panel-new.js @@ -1,9 +1,9 @@ import { getAvailableIndicators, IndicatorRegistry as IR } from '../indicators/index.js'; -console.log('[Module] indicators-panel-new.js loaded - activeIndicators count:', activeIndicators?.length || 0); - // State management let activeIndicators = []; + +console.log('[Module] indicators-panel-new.js loaded - activeIndicators count:', activeIndicators?.length || 0); let configuringId = null; let searchQuery = ''; let selectedCategory = 'all';