BigW Consortium Gitlab

Commit a0055435 by Regis

tried css only approach didn't work for now - adding all icons to stages

parent 312c504f
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
'success-icon': gl.VueSuccessIcon, 'success-icon': gl.VueSuccessIcon,
'created-icon': gl.VueCreatedIcon, 'created-icon': gl.VueCreatedIcon,
'canceled-icon': gl.VueCanceledIcon, 'canceled-icon': gl.VueCanceledIcon,
'warning-icon': gl.VueWarningIcon,
'skipped-icon': gl.VueSkippedIcon,
}, },
props: ['stage'], props: ['stage'],
computed: { computed: {
...@@ -32,6 +34,8 @@ ...@@ -32,6 +34,8 @@
<pending-icon v-if='stage.status === "pending"'></pending-icon> <pending-icon v-if='stage.status === "pending"'></pending-icon>
<created-icon v-if='stage.status === "created"'></created-icon> <created-icon v-if='stage.status === "created"'></created-icon>
<canceled-icon v-if='stage.status === "canceled"'></canceled-icon> <canceled-icon v-if='stage.status === "canceled"'></canceled-icon>
<warning-icon v-if='stage.status === "warning"'></warning-icon>
<skipped-icon v-if='stage.status === "skipped"'></skipped-icon>
</a> </a>
`, `,
}); });
......
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