diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsAndButtonComponent.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsButtonsComponent.js similarity index 87% rename from monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsAndButtonComponent.js rename to monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsButtonsComponent.js index 867efc049..8a0d97272 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsAndButtonComponent.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsButtonsComponent.js @@ -5,7 +5,7 @@ import FileSaver from "file-saver"; import * as PropTypes from "prop-types"; import ExportEventsButton from "./ExportEventsButton"; -export default class EventsAndButtonComponent extends Component { +export default class EventsButtonsComponent extends Component { constructor(props) { super(props); this.state = { @@ -26,7 +26,7 @@ export default class EventsAndButtonComponent extends Component {
- { @@ -41,7 +41,7 @@ export default class EventsAndButtonComponent extends Component { } -EventsAndButtonComponent.propTypes = { +EventsButtonsComponent.propTypes = { events: PropTypes.array, exportFilename: PropTypes.string, }; diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/ExportEventsButton.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/ExportEventsButton.js index e5c3b1b6f..b75516e2c 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/ExportEventsButton.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/ExportEventsButton.js @@ -4,7 +4,7 @@ import * as PropTypes from "prop-types"; export default class ExportEventsButton extends Component { render() { - return