forked from p15670423/monkey
More linting fixes
This commit is contained in:
parent
49825d460b
commit
951794a707
|
@ -1,5 +1,5 @@
|
||||||
import AdvancedMultiSelect from "../ui-components/AdvancedMultiSelect";
|
import AdvancedMultiSelect from '../ui-components/AdvancedMultiSelect';
|
||||||
import PbaInput from "./PbaInput";
|
import PbaInput from './PbaInput';
|
||||||
import {API_PBA_LINUX, API_PBA_WINDOWS} from '../pages/ConfigurePage';
|
import {API_PBA_LINUX, API_PBA_WINDOWS} from '../pages/ConfigurePage';
|
||||||
|
|
||||||
export default function UiSchema(props) {
|
export default function UiSchema(props) {
|
||||||
|
@ -17,7 +17,7 @@ export default function UiSchema(props) {
|
||||||
'ui:order': ['scope', 'network_analysis'],
|
'ui:order': ['scope', 'network_analysis'],
|
||||||
scope: {
|
scope: {
|
||||||
subnet_scan_list:{
|
subnet_scan_list:{
|
||||||
format: 'ip-list',
|
format: 'ip-list'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,8 +9,8 @@ import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||||
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
|
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
|
||||||
import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
|
import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
|
||||||
import {faExclamationCircle} from '@fortawesome/free-solid-svg-icons/faExclamationCircle';
|
import {faExclamationCircle} from '@fortawesome/free-solid-svg-icons/faExclamationCircle';
|
||||||
import {formValidationFormats} from "../configuration-components/ValidationFormats";
|
import {formValidationFormats} from '../configuration-components/ValidationFormats';
|
||||||
import InternalConfig from "../configuration-components/InternalConfig";
|
import InternalConfig from '../configuration-components/InternalConfig';
|
||||||
|
|
||||||
const ATTACK_URL = '/api/attack';
|
const ATTACK_URL = '/api/attack';
|
||||||
const CONFIG_URL = '/api/configuration/island';
|
const CONFIG_URL = '/api/configuration/island';
|
||||||
|
@ -264,7 +264,7 @@ class ConfigurePageComponent extends AuthComponent {
|
||||||
|
|
||||||
removePBAfile(apiEndpoint, setFilenameFnc) {
|
removePBAfile(apiEndpoint, setFilenameFnc) {
|
||||||
this.sendPbaRemoveRequest(apiEndpoint)
|
this.sendPbaRemoveRequest(apiEndpoint)
|
||||||
setFilenameFnc("")
|
setFilenameFnc('')
|
||||||
}
|
}
|
||||||
|
|
||||||
sendPbaRemoveRequest(apiEndpoint) {
|
sendPbaRemoveRequest(apiEndpoint) {
|
||||||
|
|
Loading…
Reference in New Issue