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
Edit update_header_component calls
Mir Bhatia8baca2a4adf2
diff --git a/modules/meeting/app/controllers/meeting_agenda_items_controller.rb b/modules/meeting/app/controllers/meeting_agenda_items_controller.rbindex 3c60d8a7606..963e7f28ff3 100644--- a/modules/meeting/app/controllers/meeting_agenda_items_controller.rb+++ b/modules/meeting/app/controllers/meeting_agenda_items_controller.rb@@ -185,7 +185,6 @@ class MeetingAgendaItemsController < ApplicationControllerif call.success?move_item_within_section_via_turbo_stream- update_header_component_via_turbo_streamelsegeneric_call_failure_response(call)enddiff --git a/modules/meeting/app/controllers/meeting_sections_controller.rb b/modules/meeting/app/controllers/meeting_sections_controller.rbindex 049b6198144..b9af976ef1d 100644--- a/modules/meeting/app/controllers/meeting_sections_controller.rb+++ b/modules/meeting/app/controllers/meeting_sections_controller.rb@@ -55,6 +55,7 @@ class MeetingSectionsController < ApplicationController# update the section header of the previously last section in order to ensure the action menu move options are updatedupdate_section_header_via_turbo_stream(meeting_section: @meeting.sections.last(2).first) if @meeting.sections.count > 1update_new_button_via_turbo_stream(disabled: true)+ update_header_component_via_turbo_streamelserender_base_error_in_flash_message_via_turbo_stream(call.errors)end@@ -118,6 +119,7 @@ class MeetingSectionsController < ApplicationControllerupdate_new_button_via_turbo_stream(disabled: false)# update all section headers in order to ensure the action menu move options are updatedupdate_section_headers_via_turbo_stream+ update_header_component_via_turbo_streamelsegeneric_call_failure_response(call)end@@ -138,6 +140,7 @@ class MeetingSectionsController < ApplicationControllerupdate_section_headers_via_turbo_stream# update all time slots as a section position change affects potentially all time slotsupdate_show_items_via_turbo_stream+ update_header_component_via_turbo_streamelsegeneric_call_failure_response(call)end