forked from p15670423/monkey
cc: Rename component `InfoField` to `InfoBox`
This commit is contained in:
parent
67293b37ef
commit
e16b019b85
|
@ -2,7 +2,7 @@ import * as React from 'react';
|
|||
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
|
||||
|
||||
class InfoField extends React.Component {
|
||||
class InfoBox extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
|
@ -15,4 +15,4 @@ class InfoField extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default InfoField;
|
||||
export default InfoBox;
|
|
@ -1,7 +1,7 @@
|
|||
import AdvancedMultiSelect from '../ui-components/AdvancedMultiSelect';
|
||||
import PbaInput from './PbaInput';
|
||||
import {API_PBA_LINUX, API_PBA_WINDOWS} from '../pages/ConfigurePage';
|
||||
import InfoField from './InfoField';
|
||||
import InfoBox from './InfoBox';
|
||||
|
||||
export default function UiSchema(props) {
|
||||
const UiSchema = {
|
||||
|
@ -18,7 +18,7 @@ export default function UiSchema(props) {
|
|||
'ui:order': ['scope', 'network_analysis'],
|
||||
scope: {
|
||||
info_box: {
|
||||
'ui:field': InfoField
|
||||
'ui:field': InfoBox
|
||||
},
|
||||
subnet_scan_list: {
|
||||
format: 'ip-list'
|
||||
|
@ -74,7 +74,7 @@ export default function UiSchema(props) {
|
|||
ransomware: {
|
||||
encryption: {
|
||||
info_box: {
|
||||
'ui:field': InfoField
|
||||
'ui:field': InfoBox
|
||||
},
|
||||
directories: {
|
||||
// Directory inputs are dynamically hidden
|
||||
|
|
Loading…
Reference in New Issue