Skip to content

Commit 53f12f4

Browse files
committed
Update ReportPage.js
Fix for issue guardicore#213
1 parent 9b0c0d4 commit 53f12f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ class ReportPageComponent extends AuthComponent {
408408
generateReportRecommendationsSection() {
409409
return (
410410
<div id="recommendations">
411-
<h3>
412-
Domain related recommendations
413-
</h3>
411+
{Object.keys(this.state.report.recommendations.domain_issues).length !=0 ?
412+
<h3>Domain related recommendations</h3> : null }
413+
414414
<div>
415415
{this.generateIssues(this.state.report.recommendations.domain_issues)}
416416
</div>

0 commit comments

Comments
 (0)