fix(web): show newest sessions first by default

This commit is contained in:
Tianyi Cui
2026-08-13 15:29:28 +08:00
parent ce45f8a712
commit f75d785e79
6 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ import { WorkspaceBrowser } from '../src/client/WorkspaceBrowser.tsx'
import { zh } from '../src/client/locales.ts'
afterEach(cleanup)
beforeEach(() => { localStorage.clear() })
beforeEach(() => { localStorage.clear(); createWorkspaceViewStore().create().actions.setOrderBy('manual') })
// The seat's key domain is workspace ∪ common; the stub mirrors the real
// lookup chain (namespace, then common vocabulary, then the key).