From: charleswrayjr Date: Sat, 13 Sep 2025 16:05:27 +0000 (-0500) Subject: Adding .truncate to @lodash.js. X-Git-Url: https://git.phasecustomsoft.com/?a=commitdiff_plain;h=7ecd5d416f8e0506339b215a26ad5fb4d8476fe2;p=phs-admin.git Adding .truncate to @lodash.js. --- diff --git a/src/app/views/Dashboard/Dashboard.jsx b/src/app/views/Dashboard/Dashboard.jsx index 3b28ef7..2432153 100755 --- a/src/app/views/Dashboard/Dashboard.jsx +++ b/src/app/views/Dashboard/Dashboard.jsx @@ -49,7 +49,7 @@ const Dashboard = () => { const messageColumns = [ { accessorKey: 'sender_id', header: 'Sender ID', size: 100 }, - { accessorKey: 'content', header: 'Content', size: 200, Cell: ({ cell }) => truncateContent(cell.getValue(), 50) }, + { accessorKey: 'content', header: 'Content', size: 200, Cell: ({ cell }) => cell.getValue() }, { accessorKey: 'created_at', header: 'Sent At', size: 150, Cell: ({ cell }) => getFormattedDate(cell.getValue()) }, ];