Skip to content

Commit

Permalink
feat: improved has children/has parent indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Oct 24, 2023
1 parent 46b8dce commit 78bb545
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions frontend/src/component/feature/FeatureView/FeatureView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`}
>
Expand All @@ -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}
Expand Down

0 comments on commit 78bb545

Please sign in to comment.