Skip to content

Commit 244bfed

Browse files
committed
Sort checkpoints exclusively by descending timestamp, removing priority for starred items
1 parent 6c83a94 commit 244bfed

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ export const checkpoints_command = (
102102
const visible_checkpoints = checkpoints.filter((c) => !c.is_temporary)
103103

104104
visible_checkpoints.sort((a, b) => {
105-
if (a.starred && !b.starred) return -1
106-
if (!a.starred && b.starred) return 1
107105
return b.timestamp - a.timestamp
108106
})
109107

0 commit comments

Comments
 (0)