From 278a5eacf83796449e07848c707d259115b2eb5d Mon Sep 17 00:00:00 2001 From: Mustafa Tuncay Date: Mon, 14 Oct 2024 09:43:00 +0300 Subject: [PATCH] removed some feature --- pdr_backend/pdr_dashboard/callbacks/callbacks_home.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pdr_backend/pdr_dashboard/callbacks/callbacks_home.py b/pdr_backend/pdr_dashboard/callbacks/callbacks_home.py index 69b5c003a..594cd5f52 100644 --- a/pdr_backend/pdr_dashboard/callbacks/callbacks_home.py +++ b/pdr_backend/pdr_dashboard/callbacks/callbacks_home.py @@ -36,14 +36,6 @@ def get_initial_data(_): selected_predictoors = list(range(len(app.data.favourite_addresses))) selected_predictoors_addrs = app.data.favourite_addresses - if len(selected_predictoors) == 0: - max_profit_predictoor_index = app.data.predictoors_data[ - "total_profit" - ].arg_max() - selected_predictoors = list([max_profit_predictoor_index]) - selected_predictoors_addrs = [ - app.data.predictoors_data[max_profit_predictoor_index, "user"] - ] selected_feeds, feed_data = app.data.get_feeds_for_favourite_predictoors( feed_data,