diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-22 12:09:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-22 12:09:43 +0300 |
commit | 1086ac5177a6762ac14bccc6ce5584781bd44d1c (patch) | |
tree | 9475118811efc3edc219bddd3c2e780e095c3056 /app/assets/javascripts/protected_branches/protected_branch_create.js | |
parent | c8eee7e7e81f1d5ddaf0802140c1ca49587bd735 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/protected_branches/protected_branch_create.js')
-rw-r--r-- | app/assets/javascripts/protected_branches/protected_branch_create.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/protected_branches/protected_branch_create.js b/app/assets/javascripts/protected_branches/protected_branch_create.js index 5ccffe9700e..19f6666fd52 100644 --- a/app/assets/javascripts/protected_branches/protected_branch_create.js +++ b/app/assets/javascripts/protected_branches/protected_branch_create.js @@ -108,6 +108,10 @@ export default class ProtectedBranchCreate { levelAttributes.push({ group_id: item.group_id, }); + } else if (item.type === LEVEL_TYPES.DEPLOY_KEY) { + levelAttributes.push({ + deploy_key_id: item.deploy_key_id, + }); } }); |