From 65b65518dee9a1ee2a183fdfa14b4d8595960e57 Mon Sep 17 00:00:00 2001 From: Weves Date: Sun, 21 Apr 2024 21:35:35 -0700 Subject: [PATCH] Add back ChatBanner --- web/src/app/chat/ChatPage.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index bf8869734..61e568ed6 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -73,6 +73,7 @@ import { UserDropdown } from "@/components/UserDropdown"; import { v4 as uuidv4 } from "uuid"; import { orderAssistantsForUser } from "@/lib/assistants/orderAssistants"; import { ChatPopup } from "./ChatPopup"; +import { ChatBanner } from "./ChatBanner"; const MAX_INPUT_HEIGHT = 200; const TEMP_USER_MESSAGE_ID = -1; @@ -946,6 +947,10 @@ export function ChatPage({ className={`w-full h-full flex flex-col overflow-y-auto overflow-x-hidden relative`} ref={scrollableDivRef} > + {/* ChatBanner is a custom banner that displays a admin-specified message at + the top of the chat page. Only used in the EE version of the app. */} + + {livePersona && (