Skip to content

Commit ffab3e6

Browse files
authored
fix an issue with navigating changes (microsoft#234110)
1 parent 84a337c commit ffab3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatEditorActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ abstract class NavigateAction extends Action2 {
9595
}
9696

9797
const entry = entries[newIdx];
98-
const change = entry.diffInfo.get().changes.at(0);
98+
const change = entry.diffInfo.get().changes.at(this.next ? 0 : -1);
9999

100100
return editorService.openEditor({
101101
resource: entry.modifiedURI,

0 commit comments

Comments
 (0)