forked from forgejo/forgejo
gofmt
Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
parent
bc9359222a
commit
58fb672d0d
2 changed files with 7 additions and 7 deletions
|
@ -818,7 +818,7 @@ func fetchCodeComments(e Engine, issue *Issue, currentUser *User) (map[string]ma
|
|||
// If the review is pending only the author can see the comments
|
||||
if re.Type == ReviewTypePending &&
|
||||
(currentUser == nil || currentUser.ID != re.ReviewerID) {
|
||||
continue
|
||||
continue
|
||||
}
|
||||
comment.Review = re
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue