fix(tabs): show "new conversation" title for draft tabs on hydration
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user