diff --git a/web-console-v2/src/pages/StepsPages/Processing/ProcessingSection/Pii/Pii.tsx b/web-console-v2/src/pages/StepsPages/Processing/ProcessingSection/Pii/Pii.tsx index 164d68c9..e7f9fb23 100644 --- a/web-console-v2/src/pages/StepsPages/Processing/ProcessingSection/Pii/Pii.tsx +++ b/web-console-v2/src/pages/StepsPages/Processing/ProcessingSection/Pii/Pii.tsx @@ -55,7 +55,7 @@ const AddPIIDialog = (props: any) => { const [formData, setFormData] = useState({ section: { transformations: '', - transformationType: 'Mask', + transformationType: 'mask', transformationMode: 'Strict', } }); @@ -66,8 +66,8 @@ const AddPIIDialog = (props: any) => { const existingData = { section: { transformations: transformations, - transformationType: _.capitalize(_.get(data, ['transformationType'])), - transformationMode: _.capitalize(_.get(data, ['transformationMode'])) + transformationType: (_.get(data, ['transformationType'])), + transformationMode: (_.get(data, ['transformationMode'])) } }; @@ -188,8 +188,8 @@ const AddPIIDialog = (props: any) => { onChange={handleRadioChange} > - } label="Mask" /> - } label="Encrypt" /> + } label="Mask" /> + } label="Encrypt" />