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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[58467] Changed add hierarchical item behavior
Andreas Pfohl0f5114cd32c6
diff --git a/app/controllers/admin/custom_fields/hierarchy/items_controller.rb b/app/controllers/admin/custom_fields/hierarchy/items_controller.rbindex 542b2c80563..91ba61b0c38 100644--- a/app/controllers/admin/custom_fields/hierarchy/items_controller.rb+++ b/app/controllers/admin/custom_fields/hierarchy/items_controller.rb@@ -58,7 +58,10 @@ module Admin.new.insert_item(**item_input).either(- ->(_) { update_via_turbo_stream(component: ItemsComponent.new(custom_field: @custom_field)) },+ ->(_) do+ update_via_turbo_stream(component: ItemsComponent.new(custom_field: @custom_field,+ new_item_form_data: { show: true }))+ end,->(validation_result) { add_errors_to_form(validation_result) })