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 499266d commit 45908d8Copy full SHA for 45908d8
src/vs/workbench/contrib/chat/browser/chatWidget.ts
@@ -175,7 +175,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
175
}
176
const responseItems = items.filter(i => isResponseVM(i));
177
const targetIndex = responseItems.indexOf(item);
178
- if (targetIndex === undefined || !responseItems) {
+ if (targetIndex === undefined) {
179
return;
180
181
const indexToFocus = type === 'next' ? targetIndex + 1 : targetIndex - 1;
0 commit comments