From 56323383d15ba4d05a5b0c3903cd140e62ec3eea Mon Sep 17 00:00:00 2001 From: yashashk Date: Fri, 15 Nov 2024 17:24:07 +0530 Subject: [PATCH] #OBS-I304: fix: minor payload change --- .../Processing/ProcessingSection/Pii/Pii.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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" />