From cd24ecf686071e8a2257d875eb0e76b9bcb8a1ba Mon Sep 17 00:00:00 2001 From: Jason Jacobs Date: Thu, 14 Mar 2024 13:20:47 -0700 Subject: [PATCH] Changing the subMenuTitle in the context provider has led to an inability to add new documentation sources. (#959) --- gui/src/components/mainInput/MentionList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/components/mainInput/MentionList.tsx b/gui/src/components/mainInput/MentionList.tsx index a8528f224..2b4de321a 100644 --- a/gui/src/components/mainInput/MentionList.tsx +++ b/gui/src/components/mainInput/MentionList.tsx @@ -175,7 +175,7 @@ const MentionList = forwardRef((props: MentionListProps, ref) => { useEffect(() => { const items = [...props.items]; - if (subMenuTitle === "Search documentation") { + if (subMenuTitle === "Type to search docs") { items.push({ title: "Add Docs", type: "action",