From d31b6ee51efa27e9063296a29c89195ff8e9a9bd Mon Sep 17 00:00:00 2001 From: ISHIMWE Ami Paradis Date: Tue, 19 Nov 2024 12:17:07 +0200 Subject: [PATCH] fixing new tickets button color and trimming message (#589) --- src/pages/Tickets.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/Tickets.tsx b/src/pages/Tickets.tsx index cbfee0efb..a84885d79 100644 --- a/src/pages/Tickets.tsx +++ b/src/pages/Tickets.tsx @@ -297,7 +297,8 @@ function TicketsPage() { accessor: 'message', Cell: ({ value }: { value: string }) => { const trimmedMessage = - value.length > 100 ? `${value.substring(0, 100)}...` : value; + value.length > 100 ? `${value.substring(0, 80)}...` : value; + return trimmedMessage; }, }, @@ -362,7 +363,7 @@ function TicketsPage() {