From c3d72b55574110652bf6222e91bce03c778eb208 Mon Sep 17 00:00:00 2001 From: DiTus Date: Thu, 26 Feb 2026 15:22:30 +0100 Subject: [PATCH] Fix syntax error in indicators-panel-new.js Remove duplicate code lines that were causing SyntaxError --- src/api/dashboard/static/js/ui/indicators-panel-new.js | 4 ---- 1 file changed, 4 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 3ed9de3..9fd1c8a 100644 --- a/src/api/dashboard/static/js/ui/indicators-panel-new.js +++ b/src/api/dashboard/static/js/ui/indicators-panel-new.js @@ -116,10 +116,6 @@ export function renderIndicatorPanel() { const cat = CATEGORY_MAP[ind.type] || 'trend'; return cat === selectedCategory; }); - if (selectedCategory === 'favorites') return false; - const cat = CATEGORY_MAP[ind.type] || 'trend'; - return cat === selectedCategory; - }); const favoriteIds = new Set(userPresets.favorites || []);