Skip to content

Commit c0fb8d0

Browse files
authored
Mark File As Viewed doesn't update view if it's visible (#6413)
Fixes #6405
1 parent e624a71 commit c0fb8d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/github/pullRequestModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ export class PullRequestModel extends IssueModel<PullRequest> implements IPullRe
19071907
this.markFilesInProgressRefCount.delete(f);
19081908
completed.push(f);
19091909
} else {
1910-
this.markFilesInProgressRefCount.set(f, count - 1);
1910+
this.markFilesInProgressRefCount.set(f, count);
19111911
}
19121912
}
19131913
return completed;

0 commit comments

Comments
 (0)