diff --git a/monkey/monkey_island/cc/ui/src/components/configuration-components/CredentialsConfig.tsx b/monkey/monkey_island/cc/ui/src/components/configuration-components/CredentialsConfig.tsx index 4e40f980b..35e90c49b 100644 --- a/monkey/monkey_island/cc/ui/src/components/configuration-components/CredentialsConfig.tsx +++ b/monkey/monkey_island/cc/ui/src/components/configuration-components/CredentialsConfig.tsx @@ -18,6 +18,7 @@ export default function CredentialsConfig(props) { uiSchema={uiSchema} formData={credentialsCopy} onChange={(formData) => {onChange(formData.formData)}} + // @ts-ignore customFormats={customFormats} className={className} liveValidate diff --git a/monkey/monkey_island/cc/ui/src/components/configuration-components/ExportConfigModal.tsx b/monkey/monkey_island/cc/ui/src/components/configuration-components/ExportConfigModal.tsx index c56ccb4f1..7c5506e5e 100644 --- a/monkey/monkey_island/cc/ui/src/components/configuration-components/ExportConfigModal.tsx +++ b/monkey/monkey_island/cc/ui/src/components/configuration-components/ExportConfigModal.tsx @@ -10,7 +10,7 @@ import {reformatConfig} from './ReformatHook'; type Props = { show: boolean, configuration: object, - credentials: object, + credentials: string, onHide: () => void } diff --git a/monkey/monkey_island/cc/ui/src/components/configuration-components/PropagationConfig.tsx b/monkey/monkey_island/cc/ui/src/components/configuration-components/PropagationConfig.tsx index 3527bb3e8..3be4dc548 100644 --- a/monkey/monkey_island/cc/ui/src/components/configuration-components/PropagationConfig.tsx +++ b/monkey/monkey_island/cc/ui/src/components/configuration-components/PropagationConfig.tsx @@ -65,6 +65,7 @@ export default function PropagationConfig(props) { uiSchema={displayedUiSchema} formData={selectedSectionData} onChange={onFormDataChange} + // @ts-ignore customFormats={customFormats} className={className} // Each form must be a unique component