mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-09-13 23:58:00 +02:00
SONAR-6331 fix for provisioned project
This commit is contained in:
parent
cb9e3a7e2e
commit
476c354d1d
@ -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>;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user