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

Cleanup as suggested by @dombesz

Jonas Jabari30e84629bf03
diff --git a/app/components/settings/project_custom_fields/edit_form_header_component.rb b/app/components/settings/project_custom_fields/edit_form_header_component.rb
index 2e6450b489a..932bd6d5c12 100644
--- a/app/components/settings/project_custom_fields/edit_form_header_component.rb
+++ b/app/components/settings/project_custom_fields/edit_form_header_component.rb
@@ -29,9 +29,6 @@
module Settings
module ProjectCustomFields
class EditFormHeaderComponent < ApplicationComponent
- include ApplicationHelper
- include OpPrimer::ComponentHelpers
-
def initialize(custom_field:)
super
diff --git a/app/components/settings/project_custom_fields/header_component.rb b/app/components/settings/project_custom_fields/header_component.rb
index 74477d49f40..5970978e532 100644
--- a/app/components/settings/project_custom_fields/header_component.rb
+++ b/app/components/settings/project_custom_fields/header_component.rb
@@ -32,10 +32,6 @@ module Settings
include ApplicationHelper
include OpPrimer::ComponentHelpers
include OpTurbo::Streamable
-
- def initialize
- super
- end
end
end
end
diff --git a/app/components/settings/project_custom_fields/new_form_header_component.rb b/app/components/settings/project_custom_fields/new_form_header_component.rb
index 1a138fb0e26..8c9f07076f8 100644
--- a/app/components/settings/project_custom_fields/new_form_header_component.rb
+++ b/app/components/settings/project_custom_fields/new_form_header_component.rb
@@ -29,12 +29,6 @@
module Settings
module ProjectCustomFields
class NewFormHeaderComponent < ApplicationComponent
- include ApplicationHelper
- include OpPrimer::ComponentHelpers
-
- def initialize
- super
- end
end
end
end