Skip to content

Commit 7eaeef6

Browse files
committed
Update ReportPage.js
Fix for issue guardicore#213
1 parent 3cd85ff commit 7eaeef6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,8 @@ class ReportPageComponent extends AuthComponent {
403403
generateReportRecommendationsSection() {
404404
return (
405405
<div id="recommendations">
406-
<h3>
407-
Domain related recommendations
408-
</h3>
406+
{Object.keys(this.state.report.recommendations.domain_issues).length !=0 ?
407+
<h3>Domain related recommendations</h3> : null }
409408
<div>
410409
{this.generateIssues(this.state.report.recommendations.domain_issues)}
411410
</div>

0 commit comments

Comments
 (0)