diff options
author | Lukas Eipert <leipert@gitlab.com> | 2018-08-06 11:09:40 +0300 |
---|---|---|
committer | Lukas Eipert <leipert@gitlab.com> | 2018-08-06 11:16:46 +0300 |
commit | c939003d9a8415f18fd099655668f5a6a9d415f4 (patch) | |
tree | 34df542622e6402d84c277d4be5639fb46f65144 /app | |
parent | 313b79d87bd65864307e6864080e12bdbab7c4ab (diff) |
fix `/failures` JS init in pipelines view
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/pages/projects/pipelines/builds/index.js | 9 | ||||
-rw-r--r-- | app/assets/javascripts/pages/projects/pipelines/failures/index.js | 5 |
2 files changed, 4 insertions, 10 deletions
diff --git a/app/assets/javascripts/pages/projects/pipelines/builds/index.js b/app/assets/javascripts/pages/projects/pipelines/builds/index.js index 7a57e417b41..957c72008bd 100644 --- a/app/assets/javascripts/pages/projects/pipelines/builds/index.js +++ b/app/assets/javascripts/pages/projects/pipelines/builds/index.js @@ -1,7 +1,2 @@ -import initPipelineDetails from '~/pipelines/pipeline_details_bundle'; -import initPipelines from '../init_pipelines'; - -document.addEventListener('DOMContentLoaded', () => { - initPipelines(); - initPipelineDetails(); -}); +// /builds is an alias for show +import '../show/index'; diff --git a/app/assets/javascripts/pages/projects/pipelines/failures/index.js b/app/assets/javascripts/pages/projects/pipelines/failures/index.js index fbe9824c34b..8ba6fc3ae1d 100644 --- a/app/assets/javascripts/pages/projects/pipelines/failures/index.js +++ b/app/assets/javascripts/pages/projects/pipelines/failures/index.js @@ -1,3 +1,2 @@ -import initPipelines from '../init_pipelines'; - -document.addEventListener('DOMContentLoaded', initPipelines); +// /failures is an alias for show +import '../show/index'; |