Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove obsolete Dialog::Body component as it is already rendered inside a Dialog body

Henriette Dargee60629583118
diff --git a/modules/overviews/app/components/project_custom_fields/sections/edit_component.html.erb b/modules/overviews/app/components/project_custom_fields/sections/edit_component.html.erb
index 351f040878e..9a8fb2480d6 100644
--- a/modules/overviews/app/components/project_custom_fields/sections/edit_component.html.erb
+++ b/modules/overviews/app/components/project_custom_fields/sections/edit_component.html.erb
@@ -7,16 +7,12 @@
data: { turbo: true, turbo_stream: true, "test-selector": "async-dialog-content" },
url: update_project_custom_values_path(project_id: @project.id, section_id: @project_custom_field_section.id),
) do |f|
- component_collection do |collection|
- collection.with_component(Primer::Alpha::Dialog::Body.new(my: 3, classes: "Overlay-body_autocomplete_height")) do
- render(Projects::CustomFields::Form.new(
- f,
- project: @project,
- custom_field_section: @project_custom_field_section,
- wrapper_id: "#edit-project-custom-fields-dialog-#{@project_custom_field_section.id}"
- ))
- end
- end
+ render(Projects::CustomFields::Form.new(
+ f,
+ project: @project,
+ custom_field_section: @project_custom_field_section,
+ wrapper_id: "#edit-project-custom-fields-dialog-#{@project_custom_field_section.id}"
+ ))
end
end
%>