mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Merge pull request #17117 from bernt-matthias/fix/tool_panel_dups_in_section
[23.1] Remove duplicates when copying sections for tool panel view
This commit is contained in:
@@ -105,7 +105,7 @@ class StaticToolPanelView(ToolPanelView):
|
||||
f"Failed to find matching section for (id, name) = ({section_def.id}, {section_def.name})"
|
||||
)
|
||||
continue
|
||||
section = closest_section.copy()
|
||||
section = closest_section.copy(merge_tools=True)
|
||||
if section_def.id is not None:
|
||||
section.id = section_def.id
|
||||
if section_def.name is not None:
|
||||
|
||||
Reference in New Issue
Block a user