Skip to content
Snippets Groups Projects
Commit e6753362 authored by Regis's avatar Regis
Browse files

use destructuring syntax instead

parent 6a57e93f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)];
},
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment