diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/issue.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 3bcfdf1b04..08bdf311f9 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -802,6 +802,12 @@ func ViewIssue(ctx *context.Context) { } } ctx.Data["IsPullBranchDeletable"] = canDelete && pull.HeadRepo != nil && git.IsBranchExist(pull.HeadRepo.RepoPath(), pull.HeadBranch) + + ctx.Data["PullReviewersWithType"], err = models.GetReviewersByPullID(issue.ID) + if err != nil { + ctx.ServerError("GetReviewersByPullID", err) + return + } } // Get Dependencies |