From e6c9377908672fc0b45c79d4b17e3799272cf1d7 Mon Sep 17 00:00:00 2001 From: Shreya Date: Fri, 9 Jul 2021 19:55:05 +0530 Subject: [PATCH] cc: Link `InfoField` widget to ransomware's `info_box` field in UI schema --- .../cc/ui/src/components/configuration-components/UiSchema.js | 4 ++++ 1 file changed, 4 insertions(+) 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 79dced094..684d9d416 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 @@ -2,6 +2,7 @@ import AdvancedMultiSelect from '../ui-components/AdvancedMultiSelect'; import PbaInput from './PbaInput'; import {API_PBA_LINUX, API_PBA_WINDOWS} from '../pages/ConfigurePage'; import FieldWithInfo from './FieldWithInfo'; +import InfoField from './InfoField'; export default function UiSchema(props) { const UiSchema = { @@ -73,6 +74,9 @@ export default function UiSchema(props) { }, ransomware: { encryption: { + info_box: { + 'ui:field': InfoField + }, directories: { // Directory inputs are dynamically hidden }