diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-18 15:09:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-18 15:09:01 +0300 |
commit | 19d46f60a3699232458357111365e63a8c71f20d (patch) | |
tree | aaa33bba4d167d4438b1e389be82d31fce9722ed /app/helpers | |
parent | 0da3ea537477cb1a39d3479d9debf67c29664fd3 (diff) |
Add latest changes from gitlab-org/gitlab@master
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, |