Skip to content

Commit 089d623

Browse files
authored
add team memory fixes (#329)
1 parent 6c288be commit 089d623

File tree

2 files changed

+227
-140
lines changed

2 files changed

+227
-140
lines changed

web/src/components/devtools/Memory.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ const SavedQuestions = () => {
8181

8282
export const MinusXMD: React.FC = () => {
8383
const tool = getParsedIframeInfo().tool
84+
const isEmbedded = getParsedIframeInfo().isEmbedded as unknown === 'true'
8485
const useMemory = useSelector((state: RootState) => state.settings.useMemory)
8586

8687
const handleMemoryToggle = (checked: boolean) => {
@@ -109,9 +110,10 @@ export const MinusXMD: React.FC = () => {
109110
</HStack>
110111
</HStack>
111112
</HStack>
112-
<HStack>
113+
{ !isEmbedded && <HStack>
113114
<Link href={"https://docs.minusx.ai/en/articles/11675800-memory-minusx-md"} isExternal display={"flex"} alignItems={"center"} fontSize="xs" color="minusxGreen.800" fontWeight={"bold"} textDecoration={"underline"}>What is "Memory" and how does it work? <BsFillPatchQuestionFill /></Link>
114115
</HStack>
116+
}
115117
</VStack>
116118

117119
<Box position="relative">

0 commit comments

Comments
 (0)