diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/FindingsTable.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/FindingsTable.js index 18160846a..9d706b3f2 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/FindingsTable.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/FindingsTable.js @@ -32,8 +32,8 @@ const columns = [ class FindingsTable extends Component { render() { const data = this.props.findings.map((finding) => { - const newFinding = finding; - newFinding.pillars = finding.pillars.map((pillar) => { + const newFinding = JSON.parse(JSON.stringify(finding)); + newFinding.pillars = newFinding.pillars.map((pillar) => { return {name: pillar, status: this.props.pillarsToStatuses[pillar]} }); return newFinding;