Skip to content

Commit 245786d

Browse files
Fix: Entity Mode Width Fix
1 parent 962bbf1 commit 245786d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/src/components/ChatBot/Chatbot.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ const Chatbot: FC<ChatbotProps> = (props) => {
406406
handleSpeak(chat.modes[chat.currentMode]?.message, chat.id);
407407
}
408408
}, []);
409+
409410
const downloadClickHandler = useCallback(function downloadClickHandler<Type>(JsonData: Type) {
410411
const textFile = new Blob([JSON.stringify(JsonData)], { type: 'application/json' });
411412
if (downloadLinkRef && downloadLinkRef.current) {
@@ -580,6 +581,7 @@ const Chatbot: FC<ChatbotProps> = (props) => {
580581
}}
581582
onClose={() => setShowInfoModal(false)}
582583
open={showInfoModal}
584+
size={activeChat?.currentMode === chatModeLables.entity_vector ? 'large' : 'medium'}
583585
>
584586
<div style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
585587
<IconButton

0 commit comments

Comments
 (0)