Update ReportPage.js

Fix for issue #213
This commit is contained in:
Dhayalan 2019-03-13 13:07:59 +01:00
parent 3cd85ff85a
commit 7eaeef6919
1 changed files with 2 additions and 3 deletions

View File

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