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

Fix rubocop warning

Christophe Bliardef79b052b0d0
diff --git a/app/components/work_packages/progress/work_based/modal_body_component.rb b/app/components/work_packages/progress/work_based/modal_body_component.rb
index 588a04224df..0a1455f270d 100644
--- a/app/components/work_packages/progress/work_based/modal_body_component.rb
+++ b/app/components/work_packages/progress/work_based/modal_body_component.rb
@@ -31,7 +31,8 @@
module WorkPackages
module Progress
module WorkBased
- class ModalBodyComponent < BaseModalComponent # rubocop:disable OpenProject/AddPreviewForViewComponent
+ # rubocop:disable OpenProject/AddPreviewForViewComponent
+ class ModalBodyComponent < BaseModalComponent
def initialize(work_package,
focused_field: nil,
touched_field_map: {})
@@ -40,6 +41,7 @@ module WorkPackages
@mode = :work_based
end
end
+ # rubocop:enable OpenProject/AddPreviewForViewComponent
end
end
end