mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add pending tag to pending review comments
Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
@@ -707,7 +707,7 @@ func ViewIssue(ctx *context.Context) {
|
||||
return
|
||||
}
|
||||
} else if comment.Type == models.CommentTypeCode || comment.Type == models.CommentTypeReview {
|
||||
if err = comment.LoadReview(); err != nil {
|
||||
if err = comment.LoadReview(); err != nil && !models.IsErrReviewNotExist(err) {
|
||||
ctx.ServerError("LoadReview", err)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user