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
fix stale section menu move actions
Jonas Jabari3b00e414f1b0
diff --git a/modules/meeting/app/controllers/meeting_sections_controller.rb b/modules/meeting/app/controllers/meeting_sections_controller.rbindex ab4f65ea724..3b4bc3ba519 100644--- a/modules/meeting/app/controllers/meeting_sections_controller.rb+++ b/modules/meeting/app/controllers/meeting_sections_controller.rb@@ -125,8 +125,11 @@ class MeetingSectionsController < ApplicationController.call(position: params[:position].to_i)if call.success?- update_header_component_via_turbo_stream- move_section_via_turbo_stream+ # the DOM is already updated on the client-side through the drag+ # in order to preserve an edit state within the section,+ # we don't send a server-side rendered update via `move_section_via_turbo_stream`+ # update all section header in order to ensure the action menu move options are updated+ update_section_headers_via_turbo_stream# update all time slots as a section position change affects potentially all time slotsupdate_show_items_via_turbo_streamelse