diff options
author | Regis <boudinot.regis@yahoo.com> | 2017-01-18 08:53:30 -0700 |
---|---|---|
committer | Regis <boudinot.regis@yahoo.com> | 2017-01-18 08:53:30 -0700 |
commit | e6753362971e23c89b9357a6080aad9215253a3e (patch) | |
tree | 96814a384f17aae95468fc4e52f87444493b199d | |
parent | 6a57e93f41d194d24f58f8158cf7a813669377f9 (diff) | |
download | gitlab-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.es6 | 2 |
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)]; }, |