show agent names instead of branch names as worktree items

This commit is contained in:
Pedram Amini
2025-12-22 15:09:12 -06:00
parent 1ca72f2ef6
commit 5e48750d48

View File

@@ -148,7 +148,7 @@ export function SessionItem({
className={`font-medium truncate ${variant === 'worktree' ? 'text-xs' : 'text-sm'}`}
style={{ color: isActive ? theme.colors.textMain : theme.colors.textDim }}
>
{variant === 'worktree' ? (session.worktreeBranch || session.name) : session.name}
{session.name}
</span>
</div>
)}