Skip to content

Commit fbd1a0e

Browse files
NorthRealmlunny
andauthored
Update template
Co-authored-by: Lunny Xiao <[email protected]>
1 parent 1eed130 commit fbd1a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/actions/runs_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<div class="run-list-meta">{{svg "octicon-calendar" 16}}{{DateUtils.TimeSince .Updated}}</div>
3737
<div class="run-list-meta">{{svg "octicon-stopwatch" 16}}{{.Duration}}</div>
3838
</div>
39-
{{if and ($.AllowDeleteWorkflowRuns) (.Link) (or (eq .Status.String "success") (eq .Status.String "skipped") (eq .Status.String "cancelled"))}}
39+
{{if and ($.AllowDeleteWorkflowRuns) (.Link) (.Status.IsDone)}}
4040
<button class="ui btn interact-bg link-action tw-p-2"
4141
data-url="{{.Link}}/delete"
4242
data-modal-confirm="{{ctx.Locale.Tr "actions.runs.delete.description"}}"

0 commit comments

Comments
 (0)