csaf-poc / csaf_webview

Web app (module) to display a CSAF 2 document and to browse CSAF 2 ROLIE feeds. ⚠️ The web demo is often not allowed to access servers:
https://csaf-poc.github.io/csaf_webview/
1 stars 3 forks source link

Fix: Automatically expand collapsibles with only 1 child #43

Open JanHoefelmeyer opened 7 months ago

JanHoefelmeyer commented 7 months ago

Example:

Open https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/OT/white/2024/icsa-24-023-05.json in the viewer.

Expand Vulnerabilities and then Remediations 

Problem:

Despite having only the child collapsible "Category: mitigation", it's not automatically expanded.

ThomasJunk commented 7 months ago

Commit 5115e53 should fix the behaviour.