diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js index c74152b81..54766a48d 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js @@ -1,7 +1,7 @@ import '../../styles/report/ReportPage.scss'; import React from 'react'; -import {Route} from "react-router-dom"; +import {Route} from 'react-router-dom'; import {Col, Nav, NavItem} from 'react-bootstrap'; import {ReactiveGraph} from 'components/reactive-graph/ReactiveGraph'; import {edgeGroupToColor, options} from 'components/map/MapOptions'; @@ -10,8 +10,8 @@ import MustRunMonkeyWarning from '../report-components/common/MustRunMonkeyWarni import AttackReport from '../report-components/AttackReport' import SecurityReport from '../report-components/SecurityReport' import ZeroTrustReport from '../report-components/ZeroTrustReport' -import {extractExecutionStatusFromServerResponse} from "../report-components/common/ExecutionStatus"; -import MonkeysStillAliveWarning from "../report-components/common/MonkeysStillAliveWarning"; +import {extractExecutionStatusFromServerResponse} from '../report-components/common/ExecutionStatus'; +import MonkeysStillAliveWarning from '../report-components/common/MonkeysStillAliveWarning'; class ReportPageComponent extends AuthComponent { @@ -110,10 +110,10 @@ class ReportPageComponent extends AuthComponent { renderNav = () => { return ( ( - )}/>) }; @@ -147,7 +147,7 @@ class ReportPageComponent extends AuthComponent { } return ( -

4. Security Reports

+

4. Security Reports

{this.renderNav()}
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 c4311c74a..451adc065 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 @@ -71,7 +71,7 @@ class AttackReport extends React.Component { super(props); this.state = { selectedTechnique: false, - collapseOpen: '', + collapseOpen: '' }; if (typeof this.props.report.schema !== 'undefined' && typeof this.props.report.techniques !== 'undefined'){ this.state['schema'] = this.props.report['schema']; @@ -87,7 +87,6 @@ class AttackReport extends React.Component { } onTechniqueSelect = (technique, value, mapped = false) => { - //this.setState({selectedTechnique: technique}); let selectedTechnique = this.getTechniqueByTitle(technique); if (selectedTechnique === false){ return; @@ -107,17 +106,17 @@ class AttackReport extends React.Component { } renderLegend() { - return (