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 588116e commit ef634eeCopy full SHA for ef634ee
src/vs/workbench/contrib/chat/browser/chatWidget.ts
@@ -178,7 +178,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
178
return;
179
}
180
const responseItems = items.filter(i => isResponseVM(i));
181
- const currentlyFocusedIndex = responseItems?.indexOf(focusedElement);
+ const currentlyFocusedIndex = responseItems.indexOf(focusedElement);
182
if (currentlyFocusedIndex === undefined || !responseItems) {
183
184
0 commit comments