Skip to content

Commit c53521f

Browse files
committed
Use correct index when fetching commit status
Signed-off-by: Elias Norberg <[email protected]>
1 parent 7156e2a commit c53521f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/issue/list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@
212212
<a class="title has-emoji" href="{{$.Link}}/{{.Index}}">{{.Title}}</a>
213213

214214
{{if .IsPull }}
215-
{{if (index $.CommitStatus .ID)}}
216-
{{template "repo/commit_status" (index $.CommitStatus .ID)}}
215+
{{if (index $.CommitStatus .PullRequest.ID)}}
216+
{{template "repo/commit_status" (index $.CommitStatus .PullRequest.ID)}}
217217
{{end}}
218218
{{end}}
219219

0 commit comments

Comments
 (0)