Fix web GUI displaying same section multiple times (#1267)

Some sections were being displayed multiple times in the web GUI.

Code to append the section was nested inside the subsection loop,
so each time a new subsction was appened to the section,
the entire section was appended.
Этот коммит содержится в:
Ben Richard
2025-10-07 10:29:45 -04:00
коммит произвёл GitHub
родитель 135c38b41c
Коммит f578f39f0a
+14 -14
Просмотреть файл
@@ -286,21 +286,21 @@ class webui_analysis(OmniAnalyze_Base):
)
)
# Append the new section with all of it's contents
div_children.append(
html.Section(
id=section_title,
children=[
html.H3(
children=title,
style={"color": "white"},
),
html.Div(
className="float-container", children=html_section
),
],
)
# Append the new section with all of it's contents
div_children.append(
html.Section(
id=section_title,
children=[
html.H3(
children=title,
style={"color": "white"},
),
html.Div(
className="float-container", children=html_section
),
],
)
)
# Display pop-up message if no filters are applied
if not (disp_filt or kernel_filter or gcd_filter):