From b991035938bed4916eee238a1f2a2b56b0c28d8c Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Wed, 28 Jul 2021 13:44:58 +0200 Subject: [PATCH] UI: Set currentFormData upon refresh. --- .../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 1f651f173..f23df62e6 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -97,7 +97,8 @@ class ConfigurePageComponent extends AuthComponent { schema: monkeyConfig.schema, configuration: monkeyConfig.configuration, attackConfig: attackConfig.configuration, - sections: sections + sections: sections, + currentFormData: monkeyConfig.configuration[this.state.selectedSection] }) }); };