From a13760640c8996b8088c3f9f6182010f3481e50f Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 31 Oct 2024 13:19:16 -0700 Subject: [PATCH] Only show trash can when turnId is present --- .../components/chatMessage/chatMessage.tsx | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/interface/web/app/components/chatMessage/chatMessage.tsx b/src/interface/web/app/components/chatMessage/chatMessage.tsx index 222ccaea..d05d9829 100644 --- a/src/interface/web/app/components/chatMessage/chatMessage.tsx +++ b/src/interface/web/app/components/chatMessage/chatMessage.tsx @@ -744,16 +744,18 @@ const ChatMessage = forwardRef((props, ref) => /> ))} - + {props.chatMessage.turnId && ( + + )}