authorgravatar for admin@snappeh.comTristan Knight <admin@snappeh.com> 2026-08-10 04:21:39+01:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-09 23:21:39-04:00
log0ca9fb3fb5c7bb604b572a45bac1a3b8936c81ae
treef21d4a5235ba6744690680035685f308ad95bf1c
parentcbd55d637413f9fd0b688dc0bd9ee75eeb4f2d75
signature Signed by PGP key B5690EEEBB952194

fix(web): show worktree icon in sidebar v2 (#5909)


1 files changed, 5 insertions(+), 1 deletions(-)

apps/web/src/components/Sidebar.tsx+5-1
......@@ -137,6 +137,7 @@ import {
137137} from "./Sidebar.logic";
138138import { resolveLocalCheckoutBranchMismatch } from "./BranchToolbar.logic";
139139import {
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 )}