fix(app): regressions

This commit is contained in:
Adam 2026-02-10 10:12:17 -06:00
parent 3929f0b5bd
commit 70c794e913
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
13 changed files with 101 additions and 73 deletions

View file

@ -26,7 +26,7 @@ export const isRootVisibleSession = (session: Session, directory: string) =>
workspaceKey(session.directory) === workspaceKey(directory) && !session.parentID && !session.time?.archived
export const sortedRootSessions = (store: { session: Session[]; path: { directory: string } }, now: number) =>
store.session.filter((session) => isRootVisibleSession(session, store.path.directory)).toSorted(sortSessions(now))
store.session.filter((session) => isRootVisibleSession(session, store.path.directory)).sort(sortSessions(now))
export const childMapByParent = (sessions: Session[]) => {
const map = new Map<string, string[]>()