Skip to content

Commit c846006

Browse files
yzzyxdschmidt
authored andcommitted
Fix pull request commit status in user dashboard list (go-gitea#8321)
1 parent 7156e2a commit c846006

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
@@ -68,8 +68,8 @@
6868
<a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Title}}</a>
6969

7070
{{if .IsPull }}
71-
{{if (index $.CommitStatus .ID)}}
72-
{{template "repo/commit_status" (index $.CommitStatus .ID)}}
71+
{{if (index $.CommitStatus .PullRequest.ID)}}
72+
{{template "repo/commit_status" (index $.CommitStatus .PullRequest.ID)}}
7373
{{end}}
7474
{{end}}
7575

0 commit comments

Comments
 (0)