Commit fa3ba387 authored by kushalpandya's avatar kushalpandya

Fix icons path and mappings

parent ed127d43
/* global Flash */
import StatusIconEntityMap from '../../ci_status_icons';
import { statusClassToSvgMap } from '../../vue_shared/pipeline_svg_icons';
export default {
props: {
......@@ -76,7 +76,7 @@ export default {
return `mini-pipeline-graph-dropdown-toggle has-tooltip js-builds-dropdown-button ci-status-icon-${this.stage.status.group}`;
},
svgHTML() {
return StatusIconEntityMap[this.stage.status.icon];
return statusClassToSvgMap[this.stage.status.icon];
},
},
watch: {
......
......@@ -14,7 +14,7 @@
*/
/* global Flash */
import StatusIconEntityMap from '../../ci_status_icons';
import { statusClassToSvgMap } from '../../vue_shared/pipeline_svg_icons';
export default {
props: {
......@@ -113,7 +113,7 @@ export default {
},
svgIcon() {
return StatusIconEntityMap[this.stage.status.icon];
return statusClassToSvgMap[this.stage.status.icon];
},
},
};
......
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