forked from p34709852/monkey
UI: Fix style problems in minor components
This commit is contained in:
parent
77b24ba7a6
commit
ec9a654fdf
|
@ -61,7 +61,7 @@ class AdvancedMultiSelect extends React.Component {
|
|||
namesToPlugins = (names, allPlugins) => {
|
||||
let plugins = [];
|
||||
for (let i = 0; i < names.length; i++){
|
||||
plugins.push(_.clone(allPlugins[names[i]]));
|
||||
plugins.push(cloneDeep(allPlugins[names[i]]));
|
||||
}
|
||||
return plugins
|
||||
}
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
import {Card, Button} from 'react-bootstrap';
|
||||
import {Button, Card} from 'react-bootstrap';
|
||||
import React from 'react';
|
||||
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||
import {faQuestionCircle} from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
import {getObjectFromRegistryByRef} from './JsonSchemaHelpers';
|
||||
import WarningIcon from './WarningIcon';
|
||||
|
||||
const WarningType = {
|
||||
|
|
|
@ -8,14 +8,14 @@ const EXPLOITATION_CONFIGURATION_SCHEMA = {
|
|||
'items': BRUTE_FORCE_EXPLOITERS,
|
||||
'title': 'Brute force exploiters',
|
||||
'type': 'array',
|
||||
'uniqueItems': true,
|
||||
'uniqueItems': true
|
||||
},
|
||||
'vulnerability': {
|
||||
'items': VULNERABILITY_EXPLOITERS,
|
||||
'title': 'Vulnerability Exploiters',
|
||||
'type': 'array',
|
||||
'uniqueItems': true,
|
||||
},
|
||||
'uniqueItems': true
|
||||
}
|
||||
},
|
||||
'options': EXPLOITATION_OPTIONS_CONFIGURATION_SCHEMA,
|
||||
'type': 'object'
|
||||
|
|
Loading…
Reference in New Issue