1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

fix: depenency name truncator (#9696)

![image](https://github.com/user-attachments/assets/ce8d1dc4-d03a-4b42-aa30-c5cae3b6f53c)
This commit is contained in:
Tymoteusz Czech 2025-04-03 15:45:25 +02:00 committed by GitHub
parent f20ea86c61
commit 821851a2f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,7 @@ import {
StyledMetaDataItemLabel,
StyledMetaDataItemValue,
} from './FeatureOverviewMetaData';
import { Truncator } from 'component/common/Truncator/Truncator';
const StyledPermissionButton = styled(PermissionButton)(({ theme }) => ({
fontSize: theme.fontSizes.smallBody,
@ -137,7 +138,9 @@ export const DependencyRow = ({ feature }: IDependencyRowProps) => {
<StyledLink
to={`/projects/${feature.project}/features/${feature.dependencies[0]?.feature}`}
>
{feature.dependencies[0]?.feature}
<Truncator title={feature.dependencies[0]?.feature}>
{feature.dependencies[0]?.feature}
</Truncator>
</StyledLink>
{checkAccess(UPDATE_FEATURE_DEPENDENCY, environment) ? (
<DependencyActions