Skip to content

Commit

Permalink
[chore] fix feature flag for generating wp subjects
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharonus committed Jan 20, 2025
1 parent 58b0bba commit f6d6246
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/helpers/types_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ def types_tabs
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",
Expand All @@ -61,7 +55,7 @@ def types_tabs
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
}
Expand Down

0 comments on commit f6d6246

Please sign in to comment.