diff --git a/packages/components/src/components/session-list.tsx b/packages/components/src/components/session-list.tsx index e1fa43fd7..4da2740fa 100644 --- a/packages/components/src/components/session-list.tsx +++ b/packages/components/src/components/session-list.tsx @@ -83,6 +83,7 @@ import { SessionPrIcon, SessionRowAuthorAvatar, SessionRowLeadingSlot, + SessionRowWorktreeIndicator, SidebarRowArchiveButton, SidebarRowEndSlot, SessionMergeablePill, @@ -811,6 +812,7 @@ const SessionGroupSection = memo(function SessionGroupSection({ prStatus !== 'merged' && prStatus !== 'closed'; const showMergeablePill = isMergeable && !isSelected; + const showWorktreeIcon = session.isWorktree === true; const canArchive = typeof onArchiveSession === 'function'; const showInlineArchive = canArchive && !isMobile; const isChatSession = group.kind === 'chat'; @@ -1001,7 +1003,7 @@ const SessionGroupSection = memo(function SessionGroupSection({ className="text-xs text-muted-foreground" /> - ) : hasPr || hasChanges || showMergeablePill || isMobile ? ( + ) : hasPr || hasChanges || showMergeablePill || showWorktreeIcon || isMobile ? ( -{session.deletedLines} ) : null} + {hasPr ? ( ) : null}