From d28c7f4f307ceb230317c78b453c03a5593d07d6 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 19 Nov 2024 10:56:30 -0300 Subject: [PATCH] fix: removes delay for running flow skeleton (#4679) Update rendering logic for chat messages && running flow --- .../src/modals/IOModal/components/chatView/newChatView.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx b/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx index 85bfe0b95..fdcefd209 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx @@ -135,7 +135,7 @@ export default function ChatView({ onDrop={onDrop} >
- {chatHistory?.length > 0 ? ( + {lockChat || chatHistory?.length > 0 ? ( chatHistory.map((chat, index) => ( {lockChat && - chatHistory.length > 0 && !(chatHistory[chatHistory.length - 1]?.category === "error") && flowRunningSkeletonMemo}