Skip to content

Commit 6c0fc9c

Browse files
committed
Fix merge
1 parent bf80bc5 commit 6c0fc9c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/chime_dash/app/services/callbacks.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ def __init__(self, callbacks: List[ChimeCallback], component_instance):
2424

2525

2626
class IndexCallbacks(ComponentCallbacks):
27-
@staticmethod
28-
def toggle_tool_details(switch_value):
29-
return get_n_switch_values(switch_value, 1)
3027

3128
@staticmethod
3229
def toggle_tables(switch_value):
@@ -47,7 +44,6 @@ def handle_model_change(i, sidebar_data):
4744
max_y_axis=pars.max_y_axis,
4845
)
4946
result.extend(i.components["intro"].build(model, pars))
50-
result.extend(i.components["tool_details"].build(model, pars))
5147
for df_key in ["admits_df", "census_df", "sim_sir_w_date_df"]:
5248
df = None
5349
if model:
@@ -62,11 +58,6 @@ def handle_model_change_helper(sidebar_mod, sidebar_data):
6258
super().__init__(
6359
component_instance=component_instance,
6460
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-
),
7061
ChimeCallback( # If user toggles show_tables, show/hide tables
7162
changed_elements={"show_tables": "value"},
7263
dom_updates={
@@ -80,7 +71,6 @@ def handle_model_change_helper(sidebar_mod, sidebar_data):
8071
changed_elements={"sidebar-store": "modified_timestamp"},
8172
dom_updates={
8273
"intro": "children",
83-
"more_intro": "children",
8474
"new_admissions_graph": "figure",
8575
"new_admissions_table": "children",
8676
"new_admissions_download": "href",

0 commit comments

Comments
 (0)