Skip to content

Commit

Permalink
Fix pull request commit status in user dashboard list (#8321)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzzyx authored and lafriks committed Sep 30, 2019
1 parent f89d027 commit 8a45070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/user/dashboard/issues.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

Expand Down

0 comments on commit 8a45070

Please sign in to comment.