From b8c253c3e0469d2eb82fca1c62c0c3b7ae983eb6 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Thu, 21 Jul 2022 13:49:31 +0200 Subject: [PATCH] UI: Add state credentials to ExprotConfigModal * Delete a advanced key from config --- .../monkey_island/cc/ui/src/components/pages/ConfigurePage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index 8b801d79d..48936ef66 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -192,6 +192,7 @@ class ConfigurePageComponent extends AuthComponent { renderConfigExportModal = () => { return ( { this.setState({showConfigExportModal: false}); }}/>); @@ -271,7 +272,7 @@ class ConfigurePageComponent extends AuthComponent { sendConfig() { let config = JSON.parse(JSON.stringify(this.state.configuration)) config = reformatConfig(config, true); - console.log(config); + delete config['advanced']; return ( this.authFetch(CONFIG_URL,