Skip to content

Commit 452e028

Browse files
authored
Comment view filtering: incorrect count (Showing x of y) (microsoft#165517)
Fixes microsoft#165444
1 parent db0c4da commit 452e028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/comments/browser/commentsView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class CommentsPanel extends FilterViewPane implements ICommentsView {
9898
this.filter = new Filter(new FilterOptions(this.filterWidget.getFilterText(), this.filters.showResolved, this.filters.showUnresolved));
9999

100100
this._register(this.commentService.onDidSetAllCommentThreads(e => {
101-
this.totalComments = e.commentThreads.length;
101+
this.totalComments += e.commentThreads.length;
102102
}));
103103

104104
this._register(this.commentService.onDidUpdateCommentThreads(e => {

0 commit comments

Comments
 (0)