Skip to content

Commit

Permalink
#OBS-I304: fix: minor payload change
Browse files Browse the repository at this point in the history
  • Loading branch information
yashashkumar committed Nov 15, 2024
1 parent 3a07f1f commit 5632338
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const AddPIIDialog = (props: any) => {
const [formData, setFormData] = useState<any>({
section: {
transformations: '',
transformationType: 'Mask',
transformationType: 'mask',
transformationMode: 'Strict',
}
});
Expand All @@ -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']))
}
};

Expand Down Expand Up @@ -188,8 +188,8 @@ const AddPIIDialog = (props: any) => {
onChange={handleRadioChange}
>
<Box display="flex">
<FormControlLabel value="Mask" control={<Radio />} label="Mask" />
<FormControlLabel value="Encrypt" control={<Radio />} label="Encrypt" />
<FormControlLabel value="mask" control={<Radio />} label="Mask" />
<FormControlLabel value="encrypt" control={<Radio />} label="Encrypt" />
</Box>
</RadioGroup>
</FormControl>
Expand Down

0 comments on commit 5632338

Please sign in to comment.