diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/ZeroTrustReportFindingsTable.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/ZeroTrustReportFindingsTable.js index d2f782213..aa93a8d41 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/ZeroTrustReportFindingsTable.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/ZeroTrustReportFindingsTable.js @@ -1,16 +1,25 @@ import React, {Component} from "react"; import ReactTable from "react-table"; +import ZeroTrustPillars from "./ZeroTrustPillars"; + +class PillarLabel extends Component { + render() { + return {this.props.pillar} + } +} const columns = [ { Header: 'Findings', columns: [ - { Header: 'Test', accessor: 'test'}, + { Header: 'Test', accessor: 'test', + style: {'white-space': 'unset'} // This enables word wrap + }, { Header: 'Pillars', id: "pillars", accessor: x => { const pillars = x.pillars; const listItems = pillars.map((pillar) => -
  • {pillar}
  • +
  • ); return }