diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-11-20 19:40:01 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-11-28 21:43:43 +0300 |
commit | ac87bd0c113e5265d7913e13c005850a4f6bf4c3 (patch) | |
tree | b313faacec5be5da6f635f9acbbda8e80686dd0a /app/assets/javascripts/dispatcher.js | |
parent | a4a389a0a7314d011275592474bd974924f86735 (diff) |
Add checkboxes to automatically run AutoDevops pipeline
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38962
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 34708977d20..9e84e441ae8 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -521,6 +521,13 @@ import ProjectVariables from './project_variables'; case 'projects:settings:ci_cd:show': // Initialize expandable settings panels initSettingsPanels(); + + import(/* webpackChunkName: "ci-cd-settings" */ './projects/ci_cd_settings_bundle') + .then(ciCdSettings => ciCdSettings.default()) + .catch((err) => { + Flash(s__('ProjectSettings|Problem setting up the CI/CD settings JavaScript')); + throw err; + }); case 'groups:settings:ci_cd:show': new ProjectVariables(); break; |