From 3bfdcb9e9a81b1296fb76b2db837f229678d257e Mon Sep 17 00:00:00 2001 From: Shreya Date: Mon, 4 May 2020 14:26:20 +0530 Subject: [PATCH] Undo line deletion Forgot to add it back on undoing previous changes --- monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js | 1 + 1 file changed, 1 insertion(+) 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 a8c44b8b0..a49e198a6 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -180,6 +180,7 @@ class ConfigurePageComponent extends AuthComponent { if (techType[1].properties.hasOwnProperty(technique)) { let tempMatrix = this.state.attackConfig; tempMatrix[techType[0]].properties[technique].value = value; + this.setState({attackConfig: tempMatrix}); // Toggle all mapped techniques if (!mapped) {