Fix pull request commit status in user dashboard list (#8321)

This commit is contained in:
Elias Norberg 2019-09-30 11:16:29 +02:00 committed by Lauris BH
parent f89d027c15
commit 8a45070f62
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@
<a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Title}}</a>
{{if .IsPull }}
{{if (index $.CommitStatus .ID)}}
{{template "repo/commit_status" (index $.CommitStatus .ID)}}
{{if (index $.CommitStatus .PullRequest.ID)}}
{{template "repo/commit_status" (index $.CommitStatus .PullRequest.ID)}}
{{end}}
{{end}}