diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/commits_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb index 93776503dd6..42e4844cc8d 100644 --- a/app/helpers/commits_helper.rb +++ b/app/helpers/commits_helper.rb @@ -135,6 +135,8 @@ module CommitsHelper end def cherry_pick_projects_data(project) + return [] unless Feature.enabled?(:pick_into_project, project, default_enabled: :yaml) + target_projects(project).map do |project| { id: project.id.to_s, |