File tree 1 file changed +9
-5
lines changed 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <SvgIcon name =" octicon-check-circle-fill" class =" green" :size =" size" v-if =" status === 'success'" />
3
- <SvgIcon name =" octicon-skip" class =" ui text grey" :size =" size" v-else-if =" status === 'skipped'" />
4
- <SvgIcon name =" octicon-clock" class =" ui text yellow" :size =" size" v-else-if =" status === 'waiting'" />
5
- <SvgIcon name =" octicon-blocked" class =" ui text yellow" :size =" size" v-else-if =" status === 'blocked'" />
6
- <SvgIcon name =" octicon-meter" class =" ui text yellow" :size =" size" class-name =" job-status-rotate" v-else-if =" status === 'running'" />
2
+ <SvgIcon name =" octicon-check-circle-fill" class =" green" :size =" size" :class-name = " className " v-if =" status === 'success'" />
3
+ <SvgIcon name =" octicon-skip" class =" ui text grey" :size =" size" :class-name = " className " v-else-if =" status === 'skipped'" />
4
+ <SvgIcon name =" octicon-clock" class =" ui text yellow" :size =" size" :class-name = " className " v-else-if =" status === 'waiting'" />
5
+ <SvgIcon name =" octicon-blocked" class =" ui text yellow" :size =" size" :class-name = " className " v-else-if =" status === 'blocked'" />
6
+ <SvgIcon name =" octicon-meter" class =" ui text yellow" :size =" size" : class-name =" ' job-status-rotate ' + className " v-else-if =" status === 'running'" />
7
7
<SvgIcon name =" octicon-x-circle-fill" class =" red" :size =" size" v-else />
8
8
</template >
9
9
@@ -20,6 +20,10 @@ export default {
20
20
size: {
21
21
type: Number ,
22
22
default: 16
23
+ },
24
+ className: {
25
+ type: String ,
26
+ default: ' '
23
27
}
24
28
},
25
29
};
You can’t perform that action at this time.
0 commit comments