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

[55123] Moved streamable include to derived project table

Andreas Pfohl86b0c194103b
diff --git a/app/components/projects/table_component.rb b/app/components/projects/table_component.rb
index 50b9c017d43..3c053819422 100644
--- a/app/components/projects/table_component.rb
+++ b/app/components/projects/table_component.rb
@@ -30,8 +30,6 @@
module Projects
class TableComponent < ::TableComponent
- include OpTurbo::Streamable
-
options :params # We read collapsed state from params
options :current_user # adds this option to those of the base class
options :query
diff --git a/app/components/settings/project_custom_fields/project_custom_field_mapping/table_component.rb b/app/components/settings/project_custom_fields/project_custom_field_mapping/table_component.rb
index f7888600814..8ee09315b0f 100644
--- a/app/components/settings/project_custom_fields/project_custom_field_mapping/table_component.rb
+++ b/app/components/settings/project_custom_fields/project_custom_field_mapping/table_component.rb
@@ -30,6 +30,7 @@ module Settings
module ProjectCustomFields
module ProjectCustomFieldMapping
class TableComponent < Projects::TableComponent # rubocop:disable OpenProject/AddPreviewForViewComponent
+ include OpTurbo::Streamable
end
end
end