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

This commit is contained in:
Tristan Knight authored and GitHub committed 2026-08-09 23:21:39 -04:00
1 parent cbd55d6374
commit 0ca9fb3fb5
1 file changed
+5 -1
+5 -1
View File
@@ -137,6 +137,7 @@ import {
} from "./Sidebar.logic";
import { resolveLocalCheckoutBranchMismatch } from "./BranchToolbar.logic";
import {
ThreadWorktreeIndicator,
prStatusIndicator,
resolveThreadPr,
settledPrHoverColorClass,
@@ -1412,7 +1413,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
working, but it truncated to a half-sentence and dropped the
branch, so the row lost its most stable identifier. */}
{thread.branch ? (
<span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
<>
<ThreadWorktreeIndicator thread={thread} />
<span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
</>
) : (
<span className="flex-1" />
)}