diff --git a/src/frontend/src/modals/IOModal/components/chatView/chat-view.tsx b/src/frontend/src/modals/IOModal/components/chatView/chat-view.tsx index a074058a8..49d9be259 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/chat-view.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/chat-view.tsx @@ -98,7 +98,7 @@ export default function ChatView({ return new Date(a.timestamp).getTime() - new Date(b.timestamp).getTime(); }); - if (messages.length === 0 && !lockChat && chatInputNode) { + if (messages.length === 0 && !lockChat && chatInputNode && isTabHidden) { setChatValueStore( chatInputNode.data.node.template["input_value"].value ?? "", );