summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src/context
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-18 07:31:54 -0600
committerAdam <[email protected]>2025-12-18 11:16:32 -0600
commitb0aaf04957336538dc49d2b0416f44dfbd538531 (patch)
treee780b69cbe14a8f348f14c8dc22700a5a94e0d1f /packages/desktop/src/context
parentb7875256f362d85e9644b376562e7525ee7191ae (diff)
downloadopencode-b0aaf04957336538dc49d2b0416f44dfbd538531.tar.gz
opencode-b0aaf04957336538dc49d2b0416f44dfbd538531.zip
fix(desktop): session ordered by most recent
Diffstat (limited to 'packages/desktop/src/context')
-rw-r--r--packages/desktop/src/context/global-sync.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/desktop/src/context/global-sync.tsx b/packages/desktop/src/context/global-sync.tsx
index 9e716f4d9..fa1a281dc 100644
--- a/packages/desktop/src/context/global-sync.tsx
+++ b/packages/desktop/src/context/global-sync.tsx
@@ -107,7 +107,7 @@ function createGlobalSync() {
.slice()
.filter((s) => !s.time.archived)
.sort((a, b) => a.id.localeCompare(b.id))
- // Include sessions up to the limit, plus any updated in the last hour
+ // Include up to the limit, plus any updated in the last 4 hours
const sessions = nonArchived.filter((s, i) => {
if (i < store.limit) return true
const updated = new Date(s.time.updated).getTime()