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:
parent
46b8dce081
commit
599da89288
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user