diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-05-03 21:46:35 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-05-03 21:46:35 +0100 |
commit | a72f4ecbb93857c9c45d84f6c2d70f9cce3b852d (patch) | |
tree | 22e85ca8d9d51d02aa904c4281403c1e6776dbfb /app/assets/javascripts/pipelines/pipeline_details_bundle.js | |
parent | eed2812f98e08aab3e016b840528ff4d2e84f826 (diff) | |
download | gitlab-ce-a72f4ecbb93857c9c45d84f6c2d70f9cce3b852d.tar.gz |
Fix broken tests - use the corrent event when button is clicked
Diffstat (limited to 'app/assets/javascripts/pipelines/pipeline_details_bundle.js')
-rw-r--r-- | app/assets/javascripts/pipelines/pipeline_details_bundle.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pipelines/pipeline_details_bundle.js b/app/assets/javascripts/pipelines/pipeline_details_bundle.js index 6584f96130b..04fe7958fe6 100644 --- a/app/assets/javascripts/pipelines/pipeline_details_bundle.js +++ b/app/assets/javascripts/pipelines/pipeline_details_bundle.js @@ -29,10 +29,10 @@ export default () => { }; }, created() { - eventHub.$on('graphAction', this.postAction); + eventHub.$on('postAction', this.postAction); }, beforeDestroy() { - eventHub.$off('graphAction', this.postAction); + eventHub.$off('postAction', this.postAction); }, methods: { postAction(action) { |