fix(chat): update default chat title to "New Chat" in LayoutDataProvider and useResolvedTabs

This commit is contained in:
Anish Sarkar 2026-07-16 18:16:09 +05:30
parent 9f1f727d89
commit 7b4e4792bf
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ export function resolveTabPointers({
const row = tab.entityId === null ? undefined : threads.get(tab.entityId);
return {
...tab,
title: row?.title || (tab.entityId === null ? "New Chat" : `Chat ${tab.entityId}`),
title: row?.title || "New Chat",
chatUrl: getChatUrl(tab.workspaceId, tab.entityId),
...(row?.visibility !== undefined ? { visibility: row.visibility as ChatVisibility } : {}),
};