This commit is contained in:
Alagris 2021-06-20 22:03:46 +02:00
parent a7b1403487
commit 13a51f0365

View File

@ -164,6 +164,7 @@ def update_table(selected_dropdown_value):
def change_time_period(selectedData): def change_time_period(selectedData):
global from_time global from_time
global to_time global to_time
if selectedData is not None:
if selectedData.get('autosize'): if selectedData.get('autosize'):
from_time = selected_stock_in_table_df.index.min() from_time = selected_stock_in_table_df.index.min()
to_time = selected_stock_in_table_df.index.max() to_time = selected_stock_in_table_df.index.max()