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 ab0cbe8 commit 3df8cadCopy full SHA for 3df8cad
src/vs/workbench/contrib/comments/browser/commentThreadRangeDecorator.ts
@@ -66,7 +66,7 @@ export class CommentThreadRangeDecorator extends Disposable {
66
}
67
68
private updateCurrent(thread: CommentThread<IRange> | undefined) {
69
- if (!this.editor) {
+ if (!this.editor || (thread?.resource && (thread.resource?.toString() !== this.editor.getModel()?.uri.toString()))) {
70
return;
71
72
this.currentThreadCollapseStateListener?.dispose();
0 commit comments