aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/overview/components/App.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-08-24 11:53:47 +0200
committerJanos Gyerik <janos.gyerik@sonarsource.com>2017-09-12 11:34:49 +0200
commit404d315b077c84da3c31b0c0f4dde852d918c8d1 (patch)
tree176840ffdfb472a469848539dfbb803372c94b93 /server/sonar-web/src/main/js/apps/overview/components/App.js
parent9f5272cac177f024354dd72da2cda2160c5440af (diff)
downloadsonarqube-404d315b077c84da3c31b0c0f4dde852d918c8d1.tar.gz
sonarqube-404d315b077c84da3c31b0c0f4dde852d918c8d1.zip
SONAR-9736 Build UI for long-living branches (#2390)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/components/App.js')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/components/App.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/components/App.js b/server/sonar-web/src/main/js/apps/overview/components/App.js
index aa36f8402aa..794aae352ca 100644
--- a/server/sonar-web/src/main/js/apps/overview/components/App.js
+++ b/server/sonar-web/src/main/js/apps/overview/components/App.js
@@ -28,7 +28,7 @@ import SourceViewer from '../../../components/SourceViewer/SourceViewer';
/*::
type Props = {
- branch: {},
+ branch: { name: string },
component: {
analysisDate?: string,
id: string,
@@ -84,6 +84,12 @@ export default class App extends React.PureComponent {
return <EmptyOverview component={component} />;
}
- return <OverviewApp component={component} onComponentChange={this.props.onComponentChange} />;
+ return (
+ <OverviewApp
+ branch={this.props.branch}
+ component={component}
+ onComponentChange={this.props.onComponentChange}
+ />
+ );
}
}