From 39dfe04236cb1e57ed07acd976e633b1e2251e8a Mon Sep 17 00:00:00 2001 From: StreetLamb Date: Sun, 25 Aug 2024 15:36:56 +0800 Subject: [PATCH] Fix threads table overflowing if query text is long --- frontend/src/components/Teams/ViewThreads.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/Teams/ViewThreads.tsx b/frontend/src/components/Teams/ViewThreads.tsx index a1eefbb3..82ab0317 100644 --- a/frontend/src/components/Teams/ViewThreads.tsx +++ b/frontend/src/components/Teams/ViewThreads.tsx @@ -1,7 +1,6 @@ import { Flex, Spinner, - Container, TableContainer, Table, Thead, @@ -84,7 +83,6 @@ const ChatHistory = ({ teamId, updateTabIndex }: ChatHistoryProps) => { ) : ( threads && ( - @@ -95,7 +93,7 @@ const ChatHistory = ({ teamId, updateTabIndex }: ChatHistoryProps) => { - + {threads.data.map((thread) => ( { cursor={"pointer"} > - +
Actions
{new Date(thread.updated_at).toLocaleString()}{thread.query}{thread.query} {thread.id} {
-
) )}