From 53f12f4b673acdc52e17c8389c7af24353dd398c Mon Sep 17 00:00:00 2001 From: Dhayalan Date: Tue, 12 Mar 2019 20:53:16 +0100 Subject: [PATCH] Update ReportPage.js Fix for issue #213 --- .../monkey_island/cc/ui/src/components/pages/ReportPage.js | 6 +++--- 1 file changed, 3 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 7dae3f2ed..754ded024 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js @@ -408,9 +408,9 @@ 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)}