From 7eaeef69193e44011174b8f03ad50ccac7fc5ac9 Mon Sep 17 00:00:00 2001 From: Dhayalan Date: Wed, 13 Mar 2019 13:07:59 +0100 Subject: [PATCH] Update ReportPage.js Fix for issue #213 --- .../monkey_island/cc/ui/src/components/pages/ReportPage.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js index b5ab30581..e62bdcc59 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js @@ -403,9 +403,8 @@ class ReportPageComponent extends AuthComponent { generateReportRecommendationsSection() { return (
-

- Domain related recommendations -

+ {Object.keys(this.state.report.recommendations.domain_issues).length !=0 ? +

Domain related recommendations

: null }
{this.generateIssues(this.state.report.recommendations.domain_issues)}