aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app
diff options
context:
space:
mode:
Diffstat (limited to 'csit.infra.dash/app')
-rw-r--r--csit.infra.dash/app/cdash/trending/layout.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/csit.infra.dash/app/cdash/trending/layout.py b/csit.infra.dash/app/cdash/trending/layout.py
index 97181e199d..028f592d95 100644
--- a/csit.infra.dash/app/cdash/trending/layout.py
+++ b/csit.infra.dash/app/cdash/trending/layout.py
@@ -885,10 +885,9 @@ class Layout:
dbc.Accordion(
children=acc_items,
class_name="g-0 p-0",
+ start_collapsed=True,
always_open=True,
- flush=True,
- active_item=\
- [f"item-{i}" for i in range(len(acc_items))]
+ flush=True
),
class_name="g-0 p-0"
),
@@ -934,8 +933,8 @@ class Layout:
dbc.Accordion(
panels,
class_name="g-0 p-1",
- always_open=True,
- active_item=[f"item-{i}" for i in range(len(panels))]
+ start_collapsed=True,
+ always_open=True
)
)