aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/overview/branches/BranchOverview.tsx
diff options
context:
space:
mode:
authorJeremy <jeremy.davis@sonarsource.com>2020-05-29 15:32:36 +0200
committersonartech <sonartech@sonarsource.com>2020-06-11 20:04:56 +0000
commit31f4bf37272da9cbb703c5c104ad5412239fe39b (patch)
treee572f1fd7c296ba1172e565b605e33d35355f299 /server/sonar-web/src/main/js/apps/overview/branches/BranchOverview.tsx
parentdcc32fd76d2cdea831c097ab389a6e2339d5dc15 (diff)
downloadsonarqube-31f4bf37272da9cbb703c5c104ad5412239fe39b.tar.gz
sonarqube-31f4bf37272da9cbb703c5c104ad5412239fe39b.zip
SONAR-13391 handle missing newcode
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/branches/BranchOverview.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/branches/BranchOverview.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/branches/BranchOverview.tsx b/server/sonar-web/src/main/js/apps/overview/branches/BranchOverview.tsx
index 6268623fb94..80a41ecc993 100644
--- a/server/sonar-web/src/main/js/apps/overview/branches/BranchOverview.tsx
+++ b/server/sonar-web/src/main/js/apps/overview/branches/BranchOverview.tsx
@@ -403,8 +403,6 @@ export default class BranchOverview extends React.PureComponent<Props, State> {
qgStatuses
} = this.state;
- const leakPeriod = component.qualifier === ComponentQualifier.Application ? appLeak : period;
-
const projectIsEmpty =
loadingStatus === false &&
(measures === undefined ||
@@ -415,16 +413,17 @@ export default class BranchOverview extends React.PureComponent<Props, State> {
return (
<BranchOverviewRenderer
analyses={analyses}
+ appLeak={appLeak}
branchLike={branchLike}
component={component}
graph={graph}
- leakPeriod={leakPeriod}
loadingHistory={loadingHistory}
loadingStatus={loadingStatus}
measures={measures}
measuresHistory={measuresHistory}
metrics={metrics}
onGraphChange={this.handleGraphChange}
+ period={period}
projectIsEmpty={projectIsEmpty}
qgStatuses={qgStatuses}
/>