diff --git a/ui/apps/everest/src/pages/db-cluster-details/components/components.tsx b/ui/apps/everest/src/pages/db-cluster-details/components/components.tsx index 03067ce99..81e05623d 100644 --- a/ui/apps/everest/src/pages/db-cluster-details/components/components.tsx +++ b/ui/apps/everest/src/pages/db-cluster-details/components/components.tsx @@ -21,7 +21,7 @@ import { Table } from '@percona/ui-lib'; import { MRT_ColumnDef } from 'material-react-table'; import { DBClusterComponent } from 'shared-types/components.types'; import StatusField from 'components/status-field'; -import { format, formatDistanceToNowStrict } from 'date-fns'; +import { format, formatDistanceToNowStrict, isValid } from 'date-fns'; import { COMPONENT_STATUS, COMPONENT_STATUS_TO_BASE_STATUS, @@ -64,7 +64,8 @@ const Components = () => { accessorKey: 'started', Cell: ({ cell }) => { const date = new Date(cell.getValue()); - return date ? ( + + return isValid(date) ? (