Commit 3c9ac6c3 authored by Regis's avatar Regis

fix svgs for stages

parent 7ad170d8
......@@ -44,8 +44,8 @@
},
svg() {
const icon = this.stage.status.icon;
icon.replace('icon', 'stageIcon');
return this.svgs[this.match(icon)];
const stageIcon = icon.replace(/icon/i, 'stage_icon');
return this.svgs[this.match(stageIcon)];
},
spanClass() {
return `ci-status-icon ci-status-icon-${this.stage.status.group}`;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment