summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/dispatcher.js.es6
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-11-29 10:35:53 +0000
committerFilipa Lacerda <filipa@gitlab.com>2016-11-30 17:06:48 +0000
commitaa2d6eec9e36acdff679d3a5ef17db0780f51447 (patch)
treebc2964489195949bdc93bab2a356f8e4ae4033a7 /app/assets/javascripts/dispatcher.js.es6
parent6789befbf6b0578718b0e461c60326cd97dc8640 (diff)
downloadgitlab-ce-aa2d6eec9e36acdff679d3a5ef17db0780f51447.tar.gz
Improvements after review24814-pipeline-tabs
Diffstat (limited to 'app/assets/javascripts/dispatcher.js.es6')
-rw-r--r--app/assets/javascripts/dispatcher.js.es62
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/dispatcher.js.es6 b/app/assets/javascripts/dispatcher.js.es6
index de205b7905b..5fbeb57cc63 100644
--- a/app/assets/javascripts/dispatcher.js.es6
+++ b/app/assets/javascripts/dispatcher.js.es6
@@ -137,7 +137,7 @@
break;
case 'projects:pipelines:builds':
case 'projects:pipelines:show':
- const controllerAction = document.querySelector('.js-pipeline-container').dataset.controllerAction;
+ const { controllerAction } = document.querySelector('.js-pipeline-container').dataset;
new gl.Pipelines({
initTabs: true,