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

reload cf section after element within it has been removed

ulfertse696980de200
diff --git a/app/controllers/admin/settings/project_custom_fields_controller.rb b/app/controllers/admin/settings/project_custom_fields_controller.rb
index 0786974f7b1..39b328304bd 100644
--- a/app/controllers/admin/settings/project_custom_fields_controller.rb
+++ b/app/controllers/admin/settings/project_custom_fields_controller.rb
@@ -145,7 +145,7 @@ module Admin::Settings
def destroy
@custom_field.destroy
- update_section_via_turbo_stream(project_custom_field_section: @custom_field.project_custom_field_section)
+ update_section_via_turbo_stream(project_custom_field_section: @custom_field.project_custom_field_section.reload)
respond_with_turbo_streams
end