diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-10-27 15:55:40 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-10-27 15:55:40 +0100 |
commit | 476c354d1d9da2324aa7a2f66bc0391e70b47a63 (patch) | |
tree | 0fa6e9774baf12249d60951c6a02f0cdc09cfc0b /server/sonar-web/src | |
parent | cb9e3a7e2ed97bc471f3d38aa788426942914fdc (diff) | |
download | sonarqube-476c354d1d9da2324aa7a2f66bc0391e70b47a63.tar.gz sonarqube-476c354d1d9da2324aa7a2f66bc0391e70b47a63.zip |
SONAR-6331 fix for provisioned project
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/main.js b/server/sonar-web/src/main/js/apps/overview/main.js index 8062198e26e..5c19f4282f5 100644 --- a/server/sonar-web/src/main/js/apps/overview/main.js +++ b/server/sonar-web/src/main/js/apps/overview/main.js @@ -23,7 +23,7 @@ export const Overview = React.createClass({ }, componentDidMount () { - if (this.props.hasSnapshots) { + if (this.props.component.hasSnapshot) { this.requestMetrics(); } }, @@ -58,7 +58,7 @@ export const Overview = React.createClass({ }, render () { - if (!this.props.hasSnapshots) { + if (!this.props.component.hasSnapshot) { return <div className="overview"><Empty/></div>; } |