Skip to content

Commit 862237c

Browse files
author
zsbahtiar
committed
fix: lint
1 parent fcd6948 commit 862237c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

templates/repo/actions/runs_list.tmpl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,19 @@
3535
<div class="run-list-item-right">
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>
38-
{{ if and (ne .Status 6) (ne .Status 5) }}
38+
{{if and (ne .Status 6) (ne .Status 5)}}
3939
<div class="run-list-meta">
4040
<button
4141
class="ui red tiny button delete-button name"
4242
data-modal-id="modal-delete-workflow"
43-
data-url="actions/run/{{.ID}}"
43+
data-url="actions/runs/{{.ID}}"
4444
data-datarepo_id="{{.RepoID}}"
4545
data-name="Delete workflow run {{.ID}}"
46+
data-method="delete"
4647
name="Delete Workflow {{.ID}}">Delete Workflow
4748
</button>
4849
</div>
49-
{{ end }}
50+
{{end}}
5051
</div>
5152
</div>
5253
</div>

0 commit comments

Comments
 (0)