Commit fa3ba387 authored by kushalpandya's avatar kushalpandya

Fix icons path and mappings

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