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

[chore] fix feature flag for generating wp subjects

Eric Schubertf6d6246a3cc8
diff --git a/app/helpers/types_helper.rb b/app/helpers/types_helper.rb
index 595c5bbd3d3..934ce2ed2e7 100644
--- a/app/helpers/types_helper.rb
+++ b/app/helpers/types_helper.rb
@@ -44,12 +44,6 @@ module ::TypesHelper
path: edit_tab_type_path(id: @type.id, tab: :form_configuration),
label: "types.edit.form_configuration.tab"
},
- {
- name: "subject_configuration",
- path: edit_tab_type_path(id: @type.id, tab: :subject_configuration),
- label: "types.edit.subject_configuration.tab",
- view_component: WorkPackages::Types::SubjectConfigurationComponent
- },
{
name: "projects",
partial: "types/form/projects",
@@ -61,7 +55,7 @@ module ::TypesHelper
if OpenProject::FeatureDecisions.generate_work_package_subjects_active?
subject_configuration_tab = {
name: "subject_configuration",
- path: edit_type_tab_path(id: @type.id, tab: :subject_configuration),
+ path: edit_tab_type_path(id: @type.id, tab: :subject_configuration),
label: "types.edit.subject_configuration.tab",
view_component: WorkPackages::Types::SubjectConfigurationComponent
}