mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-02 03:26:06 +01:00
@@ -62,12 +62,9 @@ trait IssuesControllerBase extends ControllerBase {
|
||||
val issueId = params("id")
|
||||
|
||||
getIssue(owner, name, issueId) map {
|
||||
val comments = getComments(owner, name, issueId.toInt)
|
||||
val participantSet = comments.foldRight(Set(owner)) { (comment, set) => set + comment.commentedUserName }
|
||||
issues.html.issue(
|
||||
_,
|
||||
comments,
|
||||
participantSet,
|
||||
getComments(owner, name, issueId.toInt),
|
||||
getIssueLabels(owner, name, issueId.toInt),
|
||||
(getCollaborators(owner, name) :+ owner).sorted,
|
||||
getMilestones(owner, name),
|
||||
|
||||
Reference in New Issue
Block a user