diff --git a/monkey/monkey_island/cc/ui/src/components/configuration-components/InfoField.js b/monkey/monkey_island/cc/ui/src/components/configuration-components/InfoBox.js similarity index 85% rename from monkey/monkey_island/cc/ui/src/components/configuration-components/InfoField.js rename to monkey/monkey_island/cc/ui/src/components/configuration-components/InfoBox.js index ec6254943..1542676ce 100644 --- a/monkey/monkey_island/cc/ui/src/components/configuration-components/InfoField.js +++ b/monkey/monkey_island/cc/ui/src/components/configuration-components/InfoBox.js @@ -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; diff --git a/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js b/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js index 37a89e87c..541132bb4 100644 --- a/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js +++ b/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js @@ -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