Skip to content

Commit 8a45070

Browse files
yzzyxlafriks
authored andcommitted
Fix pull request commit status in user dashboard list (#8321)
1 parent f89d027 commit 8a45070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/user/dashboard/issues.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
<a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Title}}</a>
7373

7474
{{if .IsPull }}
75-
{{if (index $.CommitStatus .ID)}}
76-
{{template "repo/commit_status" (index $.CommitStatus .ID)}}
75+
{{if (index $.CommitStatus .PullRequest.ID)}}
76+
{{template "repo/commit_status" (index $.CommitStatus .PullRequest.ID)}}
7777
{{end}}
7878
{{end}}
7979

0 commit comments

Comments
 (0)