From 8a45070f62f7094d9e0753aadc40b50087e33928 Mon Sep 17 00:00:00 2001 From: Elias Norberg Date: Mon, 30 Sep 2019 11:16:29 +0200 Subject: [PATCH] Fix pull request commit status in user dashboard list (#8321) --- templates/user/dashboard/issues.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}}