webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js in katello-4.13.1 vs webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js in katello-4.14.0.rc1

- old
+ new

@@ -34,10 +34,11 @@ import '../../../../components/EditableTextInput/editableTextInput.scss'; import ComponentContentViewAddModal from './ComponentContentViewAddModal'; import ComponentContentViewBulkAddModal from './ComponentContentViewBulkAddModal'; import { hasPermission } from '../../helpers'; import InactiveText from '../../components/InactiveText'; +import { truncate } from '../../../../utils/helpers'; const ContentViewComponents = ({ cvId, details }) => { const response = useSelector(state => selectCVComponents(state, cvId)); const status = useSelector(state => selectCVComponentsStatus(state, cvId)); @@ -142,10 +143,10 @@ description, } = cv; const cells = [ { title: <Bullseye><ContentViewIcon composite={false} /></Bullseye> }, - { title: <a href={urlBuilder('content_views', '') + id}>{name}</a> }, + { title: <a href={urlBuilder('content_views', '') + id}>{truncate(name)}</a> }, { title: ( <Split> <SplitItem> <ComponentVersion {...{ componentCV }} />