From d3d3a662636567e3d775a12eec0db22c22a1b39f Mon Sep 17 00:00:00 2001 From: xintaofei Date: Wed, 22 Apr 2026 12:24:31 +0800 Subject: [PATCH] fix(tabs): show "new conversation" title for draft tabs on hydration --- src/contexts/tab-context.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/contexts/tab-context.tsx b/src/contexts/tab-context.tsx index 3d31ab6..db27fc0 100644 --- a/src/contexts/tab-context.tsx +++ b/src/contexts/tab-context.tsx @@ -193,7 +193,10 @@ export function TabProvider({ children }: TabProviderProps) { folderId: it.folder_id, conversationId: it.conversation_id, agentType: it.agent_type, - title: t("loadingConversation"), + title: + it.conversation_id != null + ? t("loadingConversation") + : t("newConversation"), isPinned: it.is_pinned, })) setTabs(restored)