Skip to content

Commit

Permalink
Comment view filtering: incorrect count (Showing x of y) (microsoft#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexr00 authored Nov 4, 2022
1 parent db0c4da commit 452e028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/comments/browser/commentsView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class CommentsPanel extends FilterViewPane implements ICommentsView {
this.filter = new Filter(new FilterOptions(this.filterWidget.getFilterText(), this.filters.showResolved, this.filters.showUnresolved));

this._register(this.commentService.onDidSetAllCommentThreads(e => {
this.totalComments = e.commentThreads.length;
this.totalComments += e.commentThreads.length;
}));

this._register(this.commentService.onDidUpdateCommentThreads(e => {
Expand Down

0 comments on commit 452e028

Please sign in to comment.