mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 23:44:09 +01:00
rm check
This commit is contained in:
@@ -175,7 +175,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
|
||||
}
|
||||
const responseItems = items.filter(i => isResponseVM(i));
|
||||
const targetIndex = responseItems.indexOf(item);
|
||||
if (targetIndex === undefined || !responseItems) {
|
||||
if (targetIndex === undefined) {
|
||||
return;
|
||||
}
|
||||
const indexToFocus = type === 'next' ? targetIndex + 1 : targetIndex - 1;
|
||||
|
||||
Reference in New Issue
Block a user