We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea33ba commit f0a577aCopy full SHA for f0a577a
routers/web/repo/issue.go
@@ -1621,8 +1621,10 @@ func ViewIssue(ctx *context.Context) {
1621
comment.Type == issues_model.CommentTypeStopTracking {
1622
// drop error since times could be pruned from DB..
1623
_ = comment.LoadTime()
1624
- } else if comment.Type == issues_model.CommentTypeClose {
1625
- // record ID of latest closed comment.
+ }
+
1626
+ if comment.Type == issues_model.CommentTypeClose || comment.Type == issues_model.CommentTypeMergePull {
1627
+ // record ID of the latest closed/merged comment.
1628
// if PR is closed, the comments whose type is CommentTypePullRequestPush(29) after latestCloseCommentID won't be rendered.
1629
latestCloseCommentID = comment.ID
1630
}
0 commit comments