diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js b/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js index 6a6d0c75ffb..8e715e20bf3 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js @@ -159,7 +159,9 @@ class AttackReport extends React.Component { } // modify techniques' messages for (const tech_id in techniques){ - techniques[tech_id]['message'] =
; + if (typeof techniques[tech_id]['message'] === 'string') { + techniques[tech_id]['message'] =
; + } } return techniques