From dee006449db6d626a7f9ff720e1c418e85b5d825 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Wed, 28 Aug 2019 14:13:33 +0300 Subject: [PATCH] Renamed events component --- ...ventsAndButtonComponent.js => EventsButtonsComponent.js} | 6 +++--- .../report-components/zerotrust/ExportEventsButton.js | 2 +- .../report-components/zerotrust/FindingsSection.js | 2 +- .../components/report-components/zerotrust/FindingsTable.js | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) rename monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/{EventsAndButtonComponent.js => EventsButtonsComponent.js} (87%) 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