Skip to content

Commit 131fac3

Browse files
wolfsilverCopilot
andcommitted
Update src/views/nodes/fileHistoryTrackerNode.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9ddb064 commit 131fac3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/nodes/fileHistoryTrackerNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class FileHistoryTrackerNode extends SubscribeableViewNode<'file-history-
153153
}
154154

155155
// Only trigger change if the editor's URI is different from the current one
156-
if (!editor?.document?.uri || (editor?.document?.uri && areUrisEqual(editor.document.uri, this.uri))) {
156+
if (!editor?.document?.uri || areUrisEqual(editor.document.uri, this.uri)) {
157157
return;
158158
}
159159

0 commit comments

Comments
 (0)