Recover review comment editing ability

This commit is contained in:
Naoki Takezoe
2018-04-19 18:49:59 +09:00
parent a39a0292b6
commit e4520247fc
2 changed files with 3 additions and 2 deletions

View File

@@ -126,8 +126,6 @@ trait PullRequestsControllerBase extends ControllerBase {
getMilestonesWithIssueCount(owner, name),
getPriorities(owner, name),
getLabels(owner, name),
//commits,
//diffs,
isEditable(repository),
isManageable(repository),
hasDeveloperRole(pullreq.requestUserName, pullreq.requestRepositoryName, context.loginAccount),

View File

@@ -16,4 +16,7 @@
isManageable,
true
)
<div id="comment-list" style="visibility: hidden;">
@gitbucket.core.issues.html.commentlist(Some(issue), comments.toList, isManageable, repository, Some(pullreq))
</div>
}