Skip to content

Commit

Permalink
fix: related files not getting surfaced in chat editing widget (#234148)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl authored Nov 18, 2024
1 parent e5079d8 commit 23457f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class ChatRelatedFilesContribution extends Disposable implements IWorkben
}

const currentEditingSession = this.chatEditingService.currentEditingSessionObs.get();
if (!currentEditingSession || currentEditingSession.chatSessionId !== widget.viewModel?.sessionId || currentEditingSession.entries.get()) {
if (!currentEditingSession || currentEditingSession.chatSessionId !== widget.viewModel?.sessionId || currentEditingSession.entries.get().length) {
return; // Might have disposed while we were calculating
}

Expand Down

0 comments on commit 23457f8

Please sign in to comment.