fix(tabs): show "new conversation" title for draft tabs on hydration

This commit is contained in:
xintaofei
2026-04-22 12:24:31 +08:00
parent 5dd1deb986
commit d3d3a66263

View File

@@ -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)