Commit 0025fd45 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '25226-fix-pipeline-icons-path' into 'master'

Fix icons path and mappings

See merge request !1862
parents ed127d43 fa3ba387
/* 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