diff options
| author | Adam <[email protected]> | 2025-12-18 07:31:54 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-18 11:16:32 -0600 |
| commit | b0aaf04957336538dc49d2b0416f44dfbd538531 (patch) | |
| tree | e780b69cbe14a8f348f14c8dc22700a5a94e0d1f /packages/desktop/src/context | |
| parent | b7875256f362d85e9644b376562e7525ee7191ae (diff) | |
| download | opencode-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.tsx | 2 |
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() |
