forked from p15670423/monkey
Island UI: remove unnecessary setting of this.currentFormData in ConfigurePage.js because it's a state variable
This commit is contained in:
parent
f376c12db1
commit
491c44a13b
|
@ -65,7 +65,6 @@ class ConfigurePageComponent extends AuthComponent {
|
||||||
setInitialConfig(config) {
|
setInitialConfig(config) {
|
||||||
// Sets a reference to know if config was changed
|
// Sets a reference to know if config was changed
|
||||||
config['attack'] = {}
|
config['attack'] = {}
|
||||||
this.currentFormData = {}
|
|
||||||
this.initialConfig = JSON.parse(JSON.stringify(config));
|
this.initialConfig = JSON.parse(JSON.stringify(config));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue