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