diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx b/server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx index b086fb5a125..22332785306 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx @@ -61,15 +61,15 @@ export default function ComponentBreadcrumbs({ branch, component, issue, organiz )} {displaySubProject && - issue.subProject !== undefined && - issue.subProjectName !== undefined && ( - <span title={issue.subProjectName}> - <Link to={getProjectUrl(issue.subProject, branch)} className="link-no-underline"> - {limitComponentName(issue.subProjectName)} - </Link> - <span className="slash-separator" /> - </span> - )} + issue.subProject !== undefined && + issue.subProjectName !== undefined && ( + <span title={issue.subProjectName}> + <Link to={getProjectUrl(issue.subProject, branch)} className="link-no-underline"> + {limitComponentName(issue.subProjectName)} + </Link> + <span className="slash-separator" /> + </span> + )} <Link to={getProjectUrl(issue.component, branch)} className="link-no-underline"> <span title={issue.componentLongName}>{collapsePath(issue.componentLongName)}</span> |