forked from p34709852/monkey
cc: Link `InfoField` widget to ransomware's `info_box` field in UI schema
This commit is contained in:
parent
844399b608
commit
e6c9377908
|
@ -2,6 +2,7 @@ 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 FieldWithInfo from './FieldWithInfo';
|
import FieldWithInfo from './FieldWithInfo';
|
||||||
|
import InfoField from './InfoField';
|
||||||
|
|
||||||
export default function UiSchema(props) {
|
export default function UiSchema(props) {
|
||||||
const UiSchema = {
|
const UiSchema = {
|
||||||
|
@ -73,6 +74,9 @@ export default function UiSchema(props) {
|
||||||
},
|
},
|
||||||
ransomware: {
|
ransomware: {
|
||||||
encryption: {
|
encryption: {
|
||||||
|
info_box: {
|
||||||
|
'ui:field': InfoField
|
||||||
|
},
|
||||||
directories: {
|
directories: {
|
||||||
// Directory inputs are dynamically hidden
|
// Directory inputs are dynamically hidden
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue