Update ReportPage.js

Fix for issue #213
This commit is contained in:
Dhayalan 2019-03-12 20:53:16 +01:00
parent 9b0c0d4233
commit 53f12f4b67
1 changed files with 3 additions and 3 deletions

View File

@ -408,9 +408,9 @@ class ReportPageComponent extends AuthComponent {
generateReportRecommendationsSection() { generateReportRecommendationsSection() {
return ( return (
<div id="recommendations"> <div id="recommendations">
<h3> {Object.keys(this.state.report.recommendations.domain_issues).length !=0 ?
Domain related recommendations <h3>Domain related recommendations</h3> : null }
</h3>
<div> <div>
{this.generateIssues(this.state.report.recommendations.domain_issues)} {this.generateIssues(this.state.report.recommendations.domain_issues)}
</div> </div>