From 745b5348e16f1856273baf3f69838ef974bdb3f5 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Sun, 25 Oct 2026 22:03:45 +0000 Subject: [PATCH] fix(web): draft hero names the selected project, not its group label Co-Authored-By: Claude Opus 5.5 --- apps/web/src/components/chat/DraftHeroHeadline.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/web/src/components/chat/DraftHeroHeadline.tsx b/apps/web/src/components/chat/DraftHeroHeadline.tsx index b2041df5500df..e20f3f9a591ef 100644 --- a/apps/web/src/components/chat/DraftHeroHeadline.tsx +++ b/apps/web/src/components/chat/DraftHeroHeadline.tsx @@ -121,7 +121,6 @@ export function DraftHeroHeadline({ ), ) ?? null); const activeProjectKey = activeProjectGroup?.projectKey ?? ""; - const activeProjectDisplayName = activeProjectGroup?.displayName ?? activeProjectTitle; const hasResolvedProject = activeProjectTitle !== null; const canChooseProject = projectPickerEntries.length > 0; const shouldShowProjectMenu = canChooseProject; @@ -257,12 +256,12 @@ export function DraftHeroHeadline({ } > - {activeProjectDisplayName && !isScratchDraft ? ( - {activeProjectDisplayName} + {activeProjectTitle && !isScratchDraft ? ( + {activeProjectTitle} ) : null} @@ -340,7 +339,7 @@ export function DraftHeroHeadline({ return (
{hasResolvedProject && !isScratchDraft ? ( - + {projectSelector} ) : (