@@ -24,9 +24,6 @@ def __init__(self, callbacks: List[ChimeCallback], component_instance):
24
24
25
25
26
26
class IndexCallbacks (ComponentCallbacks ):
27
- @staticmethod
28
- def toggle_tool_details (switch_value ):
29
- return get_n_switch_values (switch_value , 1 )
30
27
31
28
@staticmethod
32
29
def toggle_tables (switch_value ):
@@ -47,7 +44,6 @@ def handle_model_change(i, sidebar_data):
47
44
max_y_axis = pars .max_y_axis ,
48
45
)
49
46
result .extend (i .components ["intro" ].build (model , pars ))
50
- result .extend (i .components ["tool_details" ].build (model , pars ))
51
47
for df_key in ["admits_df" , "census_df" , "sim_sir_w_date_df" ]:
52
48
df = None
53
49
if model :
@@ -62,11 +58,6 @@ def handle_model_change_helper(sidebar_mod, sidebar_data):
62
58
super ().__init__ (
63
59
component_instance = component_instance ,
64
60
callbacks = [
65
- ChimeCallback ( # If user toggles show_additional_projections, show/hide the additional intro content
66
- changed_elements = {"show_tool_details" : "value" },
67
- dom_updates = {"more_intro_wrapper" : "hidden" },
68
- callback_fn = IndexCallbacks .toggle_tool_details
69
- ),
70
61
ChimeCallback ( # If user toggles show_tables, show/hide tables
71
62
changed_elements = {"show_tables" : "value" },
72
63
dom_updates = {
@@ -80,7 +71,6 @@ def handle_model_change_helper(sidebar_mod, sidebar_data):
80
71
changed_elements = {"sidebar-store" : "modified_timestamp" },
81
72
dom_updates = {
82
73
"intro" : "children" ,
83
- "more_intro" : "children" ,
84
74
"new_admissions_graph" : "figure" ,
85
75
"new_admissions_table" : "children" ,
86
76
"new_admissions_download" : "href" ,
0 commit comments