1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: improved has children/has parent indicator (#5135)

This commit is contained in:
Mateusz Kwasniewski 2023-10-24 10:51:38 +02:00 committed by GitHub
parent 46b8dce081
commit 599da89288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,9 +215,7 @@ export const FeatureView = () => {
}
show={
<StyledDependency>
<StyleChildLinkIcon />{' '}
<b>Child feature</b>
<span>{' < '}</span>
<b>Has parent: </b>
<StyledLink
to={`/projects/${feature.project}/features/${feature?.dependencies[0]?.feature}`}
>
@ -233,9 +231,7 @@ export const FeatureView = () => {
}
show={
<StyledDependency>
<StyledParentLinkIcon />{' '}
<b>Parent feature</b>
<span>{' > '}</span>
<b>Has children:</b>
<ChildrenTooltip
childFeatures={feature.children}
project={feature.project}