diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-04-17 09:18:52 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-04-18 20:20:53 +0200 |
commit | 95dea523fad5239c13791404aff7a4d0dadd12d3 (patch) | |
tree | 2b5ed7a83e361e0f3d1847b32526f83498fdc74f /server/sonar-web/src/main/js/components/shared | |
parent | a22bc323f8d43fb243031ead669c5ff876f75c0a (diff) | |
download | sonarqube-95dea523fad5239c13791404aff7a4d0dadd12d3.tar.gz sonarqube-95dea523fad5239c13791404aff7a4d0dadd12d3.zip |
SONAR-9843 Open measure page in blank page when middle click on a file
Diffstat (limited to 'server/sonar-web/src/main/js/components/shared')
-rw-r--r-- | server/sonar-web/src/main/js/components/shared/DrilldownLink.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/components/shared/DrilldownLink.tsx b/server/sonar-web/src/main/js/components/shared/DrilldownLink.tsx index ff5587d95b4..8836780c7f9 100644 --- a/server/sonar-web/src/main/js/components/shared/DrilldownLink.tsx +++ b/server/sonar-web/src/main/js/components/shared/DrilldownLink.tsx @@ -138,13 +138,13 @@ export default class DrilldownLink extends React.PureComponent<Props> { return this.renderIssuesLink(); } - const url = getComponentDrilldownUrl( - this.props.component, - this.props.metric, - this.props.branchLike - ); + const url = getComponentDrilldownUrl({ + componentKey: this.props.component, + metric: this.props.metric, + branchLike: this.props.branchLike + }); return ( - <Link to={url} className={this.props.className}> + <Link className={this.props.className} to={url}> {this.props.children} </Link> ); |