mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix: use worktree grouping for homepage project count
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ function SessionsPage() {
|
||||
void refetch()
|
||||
}, [refetch])
|
||||
|
||||
const projectCount = new Set(sessions.map(s => s.metadata?.path ?? 'Other')).size
|
||||
const projectCount = new Set(sessions.map(s => s.metadata?.worktree?.basePath ?? s.metadata?.path ?? 'Other')).size
|
||||
|
||||
return (
|
||||
<div className="flex h-full flex-col">
|
||||
|
||||
Reference in New Issue
Block a user