From c846006ba9f4cf5b28343c6cc4f898fa98714b52 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 b69509d7992c1..deb6ec65120bf 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -68,8 +68,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}}