Skip to content

Commit 603a3b6

Browse files
committed
fix: accordion to tabs
1 parent 9a40605 commit 603a3b6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/aind_ephys_portal/ephys_monitor_app.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,12 @@ def refresh_process_table():
265265
pn.state.add_periodic_callback(refresh_process_table, period=2000)
266266

267267

268-
# --- Accordion: Session Logs + Tasks ---
269-
accordion = pn.Accordion(
268+
# --- Tabs: Session Logs + Tasks ---
269+
monitor_tabs = pn.Tabs(
270270
("Session Logs", log_container),
271271
("Tasks", task_tabulator),
272-
active=[0],
273272
sizing_mode="stretch_both",
273+
dynamic=True,
274274
)
275275

276276

@@ -282,7 +282,7 @@ def refresh_process_table():
282282
pn.Row(cpu_usage_label, cpu_monitor),
283283
pn.pane.Markdown("## Active Sessions"),
284284
sessions_summary,
285-
accordion,
285+
monitor_tabs,
286286
sizing_mode="stretch_both",
287287
)
288288

0 commit comments

Comments
 (0)