File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -495,14 +495,21 @@ export default defineComponent({
495495 {{ locale.artifactsTitle }}
496496 </div >
497497 <ul class =" job-artifacts-list" >
498- <li class =" job-artifacts-item" v-for =" artifact in artifacts" :key =" artifact.name" >
499- <a class =" job-artifacts-link" target =" _blank" :href =" run.link+'/artifacts/'+artifact.name" >
500- <SvgIcon name =" octicon-file" class =" ui text black job-artifacts-icon" />{{ artifact.name }}
501- </a >
502- <a v-if =" run.canDeleteArtifact" @click =" deleteArtifact(artifact.name)" class =" job-artifacts-delete" >
503- <SvgIcon name =" octicon-trash" class =" ui text black job-artifacts-icon" />
504- </a >
505- </li >
498+ <template v-for =" artifact in artifacts " :key =" artifact .name " >
499+ <li class =" job-artifacts-item" v-if =" artifact.status !== 'expired'" >
500+ <a class =" job-artifacts-link" target =" _blank" :href =" run.link+'/artifacts/'+artifact.name" >
501+ <SvgIcon name =" octicon-file" class =" ui text black job-artifacts-icon" />{{ artifact.name }}
502+ </a >
503+ <a v-if =" run.canDeleteArtifact" @click =" deleteArtifact(artifact.name)" class =" job-artifacts-delete" >
504+ <SvgIcon name =" octicon-trash" class =" ui text black job-artifacts-icon" />
505+ </a >
506+ </li >
507+ <li v-else >
508+ <span style =" color : var (--color-grey-light )" >
509+ <SvgIcon name =" octicon-file" class =" ui text light-gray job-artifacts-icon" />{{ artifact.name }}
510+ </span >
511+ </li >
512+ </template >
506513 </ul >
507514 </div >
508515 </div >
You can’t perform that action at this time.
0 commit comments