diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index bd7c39646..0bb3ebfa9 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -2461,7 +2461,6 @@ export function ChatPage({ textAreaRef={textAreaRef} chatSessionId={chatSessionIdRef.current!} /> - {enterpriseSettings && enterpriseSettings.custom_lower_disclaimer_content && (
@@ -2474,7 +2473,6 @@ export function ChatPage({
)} - {enterpriseSettings && enterpriseSettings.use_custom_logotype && (
diff --git a/web/src/app/chat/documentSidebar/DocumentSidebar.tsx b/web/src/app/chat/documentSidebar/DocumentSidebar.tsx index 5a6ed956f..021c23981 100644 --- a/web/src/app/chat/documentSidebar/DocumentSidebar.tsx +++ b/web/src/app/chat/documentSidebar/DocumentSidebar.tsx @@ -75,7 +75,8 @@ export const DocumentSidebar = forwardRef(
{popup}
- {dedupedDocuments.length} Documents + {dedupedDocuments.length} Document + {dedupedDocuments.length > 1 ? "s" : ""}

Select to add to continuous context { - if (toggleDocumentSelection) { - toggleDocumentSelection(); + if (messageId) { + onMessageSelection?.(messageId); } + toggleDocumentSelection?.(); }} key={-1} className="cursor-pointer w-[200px] rounded-lg flex-none transition-all duration-500 hover:bg-background-125 bg-text-100 px-4 py-2 border-b"