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 && (
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"