diff --git a/web/src/routes/events/Events.tsx b/web/src/routes/events/Events.tsx index 204a72a798..0c60acbfcb 100644 --- a/web/src/routes/events/Events.tsx +++ b/web/src/routes/events/Events.tsx @@ -25,6 +25,7 @@ import { fetchEvents, resetEvents } from '../../store/actionCreators' import { fileSize, formatUpdatedAt } from '../../helpers' import { formatDateAPIQuery, formatDatePicker } from '../../helpers/time' import { saveAs } from 'file-saver' +import { truncateText } from '../../helpers/text' import { useSearchParams } from 'react-router-dom' import { useTheme } from '@emotion/react' import Box from '@mui/material/Box' @@ -305,9 +306,9 @@ const Events: React.FC = ({ label={event.eventType} /> - {event.job.name} + {truncateText(event.job.name, 40)} - {event.job.namespace} + {truncateText(event.job.namespace, 40)} {formatUpdatedAt(event.eventTime)}