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 {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||||
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
|
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
|
||||||
|
|
||||||
class InfoField extends React.Component {
|
class InfoBox extends React.Component {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
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 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';
|
||||||
import InfoField from './InfoField';
|
import InfoBox from './InfoBox';
|
||||||
|
|
||||||
export default function UiSchema(props) {
|
export default function UiSchema(props) {
|
||||||
const UiSchema = {
|
const UiSchema = {
|
||||||
|
@ -18,7 +18,7 @@ export default function UiSchema(props) {
|
||||||
'ui:order': ['scope', 'network_analysis'],
|
'ui:order': ['scope', 'network_analysis'],
|
||||||
scope: {
|
scope: {
|
||||||
info_box: {
|
info_box: {
|
||||||
'ui:field': InfoField
|
'ui:field': InfoBox
|
||||||
},
|
},
|
||||||
subnet_scan_list: {
|
subnet_scan_list: {
|
||||||
format: 'ip-list'
|
format: 'ip-list'
|
||||||
|
@ -74,7 +74,7 @@ export default function UiSchema(props) {
|
||||||
ransomware: {
|
ransomware: {
|
||||||
encryption: {
|
encryption: {
|
||||||
info_box: {
|
info_box: {
|
||||||
'ui:field': InfoField
|
'ui:field': InfoBox
|
||||||
},
|
},
|
||||||
directories: {
|
directories: {
|
||||||
// Directory inputs are dynamically hidden
|
// Directory inputs are dynamically hidden
|
||||||
|
|
Loading…
Reference in New Issue