From 5f7032937efcee4d746766f4dafc56c98deff108 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Tue, 29 Jul 2025 17:49:25 +0300 Subject: [PATCH] UI dash fix --- web/clean_dashboard.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/web/clean_dashboard.py b/web/clean_dashboard.py index 83dbf99..161589c 100644 --- a/web/clean_dashboard.py +++ b/web/clean_dashboard.py @@ -1532,19 +1532,7 @@ class CleanTradingDashboard: logger.error(f"Error updating trading mode: {e}") return "ERROR", "fw-bold text-danger" - # Cold Start Toggle - @self.app.callback( - Output('cold-start-display', 'children'), - Output('cold-start-display', 'className'), - [Input('cold-start-switch', 'value')] - ) - def update_cold_start(switch_value): - if switch_value: - self.cold_start_enabled = True - return "Cold Start: ON", "badge bg-success" - else: - self.cold_start_enabled = False - return "Cold Start: OFF", "badge bg-secondary" + # Universal Model Toggle Callbacks - Dynamic for all models self._setup_universal_model_callbacks()