aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2023-06-05 09:49:22 +0000
committerTibor Frank <tifrank@cisco.com>2023-06-05 09:49:22 +0000
commit1f2a3cdd3e0cd1f9ae5c232274e9adccf73b4e50 (patch)
treea4f1daad6c83926ac4e7cab3d9b06488956a6471 /csit.infra.dash
parenta992f87495a72b4e0962ff73529cf4230cc33893 (diff)
C-Dash: Start telemetry accordions collapsed
Change-Id: I001377706a757114465094188236fc2f5a9f668a Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash')
-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
)
)