We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7117355 commit 726c13cCopy full SHA for 726c13c
routers/web/repo/issue.go
@@ -1627,8 +1627,10 @@ func ViewIssue(ctx *context.Context) {
1627
comment.Type == issues_model.CommentTypeStopTracking {
1628
// drop error since times could be pruned from DB..
1629
_ = comment.LoadTime()
1630
- } else if comment.Type == issues_model.CommentTypeClose {
1631
- // record ID of latest closed comment.
+ }
+
1632
+ if comment.Type == issues_model.CommentTypeClose || comment.Type == issues_model.CommentTypeMergePull {
1633
+ // record ID of the latest closed/merged comment.
1634
// if PR is closed, the comments whose type is CommentTypePullRequestPush(29) after latestCloseCommentID won't be rendered.
1635
latestCloseCommentID = comment.ID
1636
}
0 commit comments