mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
parent
0baee00be4
commit
130345bd5d
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ export function DialogSessionList() {
|
|||
const today = new Date().toDateString()
|
||||
return sync.data.session
|
||||
.filter((x) => x.parentID === undefined)
|
||||
.toSorted((a, b) => b.time.updated - a.time.updated)
|
||||
.map((x) => {
|
||||
const date = new Date(x.time.updated)
|
||||
let category = date.toDateString()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue