summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRegis <boudinot.regis@yahoo.com>2017-01-18 08:53:30 -0700
committerRegis <boudinot.regis@yahoo.com>2017-01-18 08:53:30 -0700
commite6753362971e23c89b9357a6080aad9215253a3e (patch)
tree96814a384f17aae95468fc4e52f87444493b199d
parent6a57e93f41d194d24f58f8158cf7a813669377f9 (diff)
downloadgitlab-ce-ui_pipelines_mini_graph.tar.gz
use destructuring syntax insteadui_pipelines_mini_graph
-rw-r--r--app/assets/javascripts/vue_pipelines_index/stage.js.es62
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_pipelines_index/stage.js.es6 b/app/assets/javascripts/vue_pipelines_index/stage.js.es6
index 26cc4df7a53..32973132174 100644
--- a/app/assets/javascripts/vue_pipelines_index/stage.js.es6
+++ b/app/assets/javascripts/vue_pipelines_index/stage.js.es6
@@ -40,7 +40,7 @@
return `has-tooltip ci-status-icon ci-status-icon-${this.stage.status.group}`;
},
svg() {
- const icon = this.stage.status.icon;
+ const { icon } = this.stage.status;
const stageIcon = icon.replace(/icon/i, 'stage_icon');
return this.svgs[this.match(stageIcon)];
},