mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
fix: truncate link in body and in breadcrumb
This commit is contained in:
parent
b5072928b3
commit
bdc4b3cf7a
@ -46,7 +46,7 @@ const BreadcrumbNav = () => {
|
|||||||
styles.breadcrumbNavParagraph
|
styles.breadcrumbNavParagraph
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{path}
|
{path.substring(0,30)}
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -67,7 +67,7 @@ const BreadcrumbNav = () => {
|
|||||||
className={styles.breadcrumbLink}
|
className={styles.breadcrumbLink}
|
||||||
to={link}
|
to={link}
|
||||||
>
|
>
|
||||||
{path}
|
{path.substring(0,30)}
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
@ -103,7 +103,7 @@ const FeatureView2 = () => {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
The feature <strong>{featureId} </strong>does not exist. Do
|
The feature <strong>{featureId.substring(0,30)}</strong> does not exist. Do
|
||||||
you want to
|
you want to
|
||||||
<Link to={getCreateTogglePath(projectId)}>create it</Link>
|
<Link to={getCreateTogglePath(projectId)}>create it</Link>
|
||||||
?
|
?
|
||||||
|
Loading…
Reference in New Issue
Block a user