diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index b1d0ee4193032..83e630e97e238 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -72,8 +72,8 @@ {{.Title}} {{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}}