From 035ce6c8b0905b11851572807ad9b89f2ed829cd Mon Sep 17 00:00:00 2001 From: Shreya Date: Wed, 14 Jul 2021 18:17:55 +0530 Subject: [PATCH] cc: Don't set `selectedSection` to 'attack' in `componentDidMount` in `ConfigurePage.js` Remove a line which seems to do nothing useful. Causes issues if the first tab in the configuration page is not the ATT&CK tab. --- .../monkey_island/cc/ui/src/components/pages/ConfigurePage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 a5ea68107..1cdf7d001 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -83,8 +83,7 @@ class ConfigurePageComponent extends AuthComponent { schema: monkeyConfig.schema, configuration: monkeyConfig.configuration, attackConfig: attackConfig.configuration, - sections: sections, - selectedSection: 'attack' + sections: sections }) }); };