diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-12-10 16:47:32 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-01-16 09:43:07 +0100 |
commit | 22e22586970d8e66291d867fc70b4e4cd91ac8d9 (patch) | |
tree | 4dfe99084fb6baee561b51266b7ee14ba327208b /server/sonar-web/src/main/js/apps/component-measures | |
parent | bed7c24f661cb73e3d79de636b72a731f07bed17 (diff) | |
download | sonarqube-22e22586970d8e66291d867fc70b4e4cd91ac8d9.tar.gz sonarqube-22e22586970d8e66291d867fc70b4e4cd91ac8d9.zip |
SONAR-11478 fix drilldown in a branch
Diffstat (limited to 'server/sonar-web/src/main/js/apps/component-measures')
-rw-r--r-- | server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.tsx index 5edd0539d22..e0c16962bea 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.tsx @@ -104,7 +104,11 @@ export default class MeasureContent extends React.PureComponent<Props, State> { } Promise.all([ getComponentTree(strategy, componentKey, metricKeys, opts), - getMeasures({ componentKey, metricKeys: baseComponentMetrics.join() }) + getMeasures({ + component: componentKey, + metricKeys: baseComponentMetrics.join(), + ...getBranchLikeQuery(this.props.branchLike) + }) ]).then( ([tree, measures]) => { if (this.mounted) { |