diff --git a/web/src/router.tsx b/web/src/router.tsx index 41e07b2c..1ab4880b 100644 --- a/web/src/router.tsx +++ b/web/src/router.tsx @@ -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 (