More linting fixes

This commit is contained in:
VakarisZ 2020-07-24 17:23:53 +03:00
parent 49825d460b
commit 951794a707
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
import AdvancedMultiSelect from "../ui-components/AdvancedMultiSelect";
import PbaInput from "./PbaInput";
import AdvancedMultiSelect from '../ui-components/AdvancedMultiSelect';
import PbaInput from './PbaInput';
import {API_PBA_LINUX, API_PBA_WINDOWS} from '../pages/ConfigurePage';
export default function UiSchema(props) {
@ -17,7 +17,7 @@ export default function UiSchema(props) {
'ui:order': ['scope', 'network_analysis'],
scope: {
subnet_scan_list:{
format: 'ip-list',
format: 'ip-list'
}
}
},

View File

@ -9,8 +9,8 @@ import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
import {faExclamationCircle} from '@fortawesome/free-solid-svg-icons/faExclamationCircle';
import {formValidationFormats} from "../configuration-components/ValidationFormats";
import InternalConfig from "../configuration-components/InternalConfig";
import {formValidationFormats} from '../configuration-components/ValidationFormats';
import InternalConfig from '../configuration-components/InternalConfig';
const ATTACK_URL = '/api/attack';
const CONFIG_URL = '/api/configuration/island';
@ -264,7 +264,7 @@ class ConfigurePageComponent extends AuthComponent {
removePBAfile(apiEndpoint, setFilenameFnc) {
this.sendPbaRemoveRequest(apiEndpoint)
setFilenameFnc("")
setFilenameFnc('')
}
sendPbaRemoveRequest(apiEndpoint) {