Skip to content

Commit e7c5641

Browse files
committed
Change the checkpoint copy-to-clipboard functionality to sort checkpoints chronologically by ascending timestamp
1 parent 2832465 commit e7c5641

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/vscode/src/commands/checkpoints-command/checkpoints-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export const checkpoints_command = (params: {
269269
if (button === copy_button) {
270270
const visible_checkpoints = checkpoints
271271
.filter((c) => !c.is_temporary)
272-
.sort((a, b) => b.timestamp - a.timestamp)
272+
.sort((a, b) => a.timestamp - b.timestamp)
273273

274274
if (visible_checkpoints.length == 0) {
275275
return

0 commit comments

Comments
 (0)