diff --git a/client/src/components/categorical/category.js b/client/src/components/categorical/category.js index d824f1dc..8086f51c 100644 --- a/client/src/components/categorical/category.js +++ b/client/src/components/categorical/category.js @@ -106,6 +106,11 @@ class Category extends React.Component { We are still loading this category, so render a "busy" signal. */ const { metadataField } = this.props; + const truncatedString = maybeTruncateString( + metadataField, + globals.categoryDisplayStringMaxLength + ); + return (
- - {metadataField} - + + {truncatedString || metadataField} + +