renderSecurityHotspotsLink() {
return (
- <li>
- <Link
- activeClassName="active"
- to={{ pathname: '/security_hotspots', query: this.getQuery() }}>
- {translate('layout.security_hotspots')}
- </Link>
- </li>
+ !this.isPortfolio() && (
+ <li>
+ <Link
+ activeClassName="active"
+ to={{ pathname: '/security_hotspots', query: this.getQuery() }}>
+ {translate('layout.security_hotspots')}
+ </Link>
+ </li>
+ )
);
}
issues.page
</Link>
</li>
- <li>
- <Link
- activeClassName="active"
- onlyActiveOnIndex={false}
- style={Object {}}
- to={
- Object {
- "pathname": "/security_hotspots",
- "query": Object {
- "id": "foo",
- },
- }
- }
- >
- layout.security_hotspots
- </Link>
- </li>
<li>
<Link
activeClassName="active"
issues.page
</Link>
</li>
- <li>
- <Link
- activeClassName="active"
- onlyActiveOnIndex={false}
- style={Object {}}
- to={
- Object {
- "pathname": "/security_hotspots",
- "query": Object {
- "id": "foo",
- },
- }
- }
- >
- layout.security_hotspots
- </Link>
- </li>
<li>
<Link
activeClassName="active"