cc: Link `InfoField` widget to ransomware's `info_box` field in UI schema

This commit is contained in:
Shreya 2021-07-09 19:55:05 +05:30
parent 844399b608
commit e6c9377908
1 changed files with 4 additions and 0 deletions

View File

@ -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
}