forked from p15670423/monkey
UI fix
This commit is contained in:
parent
f52127565d
commit
c9a313b90f
|
@ -21,7 +21,7 @@ class ConfigurePageComponent extends AuthComponent {
|
||||||
this.initialConfig = {};
|
this.initialConfig = {};
|
||||||
this.initialAttackConfig = {};
|
this.initialAttackConfig = {};
|
||||||
this.sectionsOrder = ['attack', 'basic', 'basic_network', 'monkey', 'cnc', 'network', 'exploits', 'internal'];
|
this.sectionsOrder = ['attack', 'basic', 'basic_network', 'monkey', 'cnc', 'network', 'exploits', 'internal'];
|
||||||
this.uiSchemas = ConfigurePageComponent.getUiSchemas();
|
this.uiSchemas = this.getUiSchemas();
|
||||||
// set schema from server
|
// set schema from server
|
||||||
this.state = {
|
this.state = {
|
||||||
schema: {},
|
schema: {},
|
||||||
|
@ -37,7 +37,7 @@ class ConfigurePageComponent extends AuthComponent {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
static getUiSchemas(){
|
getUiSchemas(){
|
||||||
return ({
|
return ({
|
||||||
basic: {"ui:order": ["general", "credentials"]},
|
basic: {"ui:order": ["general", "credentials"]},
|
||||||
basic_network: {},
|
basic_network: {},
|
||||||
|
|
Loading…
Reference in New Issue