diff --git a/keep-ui/app/(keep)/alerts/alert-table-utils.tsx b/keep-ui/app/(keep)/alerts/alert-table-utils.tsx index 8179a8b9f..f27d5b03a 100644 --- a/keep-ui/app/(keep)/alerts/alert-table-utils.tsx +++ b/keep-ui/app/(keep)/alerts/alert-table-utils.tsx @@ -335,11 +335,14 @@ export const useAlertTableCols = ( header: "Last Received", filterFn: isDateWithinRange, minSize: 100, - cell: (context) => ( - - - - ), + // data is a Date object (converted in usePresetAlerts) + cell: (context) => { + return ( + + + + ); + }, }), columnHelper.accessor("assignee", { id: "assignee", diff --git a/keep-ui/app/(keep)/incidents/[id]/alerts/incident-alerts.tsx b/keep-ui/app/(keep)/incidents/[id]/alerts/incident-alerts.tsx index 6f5e1bb9b..36e78b2ee 100644 --- a/keep-ui/app/(keep)/incidents/[id]/alerts/incident-alerts.tsx +++ b/keep-ui/app/(keep)/incidents/[id]/alerts/incident-alerts.tsx @@ -178,7 +178,8 @@ export default function IncidentAlerts({ incident }: Props) { id: "lastReceived", header: "Last Event Time", minSize: 100, - cell: (context) => , + // data is a ISO string + cell: (context) => , }), columnHelper.accessor("source", { id: "source",