File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 6
6
import {SvgIcon } from ' ../svg.ts' ;
7
7
8
8
withDefaults (defineProps <{
9
- status: ' ' ,
10
- size? : number ,
11
- className? : string ,
9
+ status: ' success ' | ' skipped ' | ' waiting ' | ' blocked ' | ' running ' | ' failure ' | ' cancelled ' | ' unknown ' ,
10
+ size: number ,
11
+ className: string ,
12
12
localeStatus? : string ,
13
13
}>(), {
14
14
size: 16 ,
15
- className: undefined ,
15
+ className: ' ' ,
16
16
localeStatus: undefined ,
17
17
});
18
18
</script >
19
19
20
20
<template >
21
- <span class = " tw-flex tw-items-center " :data-tooltip-content =" localeStatus" v-if =" status" >
21
+ <span :data-tooltip-content =" localeStatus ?? status " v-if =" status" >
22
22
<SvgIcon name =" octicon-check-circle-fill" class =" text green" :size =" size" :class-name =" className" v-if =" status === 'success'" />
23
23
<SvgIcon name =" octicon-skip" class =" text grey" :size =" size" :class-name =" className" v-else-if =" status === 'skipped'" />
24
24
<SvgIcon name =" octicon-stop" class =" text yellow" :size =" size" :class-name =" className" v-else-if =" status === 'cancelled'" />
Original file line number Diff line number Diff line change @@ -551,6 +551,7 @@ export function initRepositoryActionView() {
551
551
552
552
.action-info-summary-title {
553
553
display : flex ;
554
+ align-items : center ;
554
555
}
555
556
556
557
.action-info-summary-title-text {
You can’t perform that action at this time.
0 commit comments