Skip to content

Commit 97c128f

Browse files
committed
fix(web): show worktree icon in sidebar v2
1 parent f993fa1 commit 97c128f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ import {
137137
} from "./Sidebar.logic";
138138
import { resolveLocalCheckoutBranchMismatch } from "./BranchToolbar.logic";
139139
import {
140+
ThreadWorktreeIndicator,
140141
prStatusIndicator,
141142
resolveThreadPr,
142143
settledPrHoverColorClass,
@@ -1412,7 +1413,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
14121413
working, but it truncated to a half-sentence and dropped the
14131414
branch, so the row lost its most stable identifier. */}
14141415
{thread.branch ? (
1415-
<span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
1416+
<>
1417+
<ThreadWorktreeIndicator thread={thread} />
1418+
<span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
1419+
</>
14161420
) : (
14171421
<span className="flex-1" />
14181422
)}

0 commit comments

Comments
 (0)