Skip to content

Commit

Permalink
#OBS-I304 : deleted json schema form to render ui
Browse files Browse the repository at this point in the history
  • Loading branch information
yashashkumar committed Nov 13, 2024
1 parent 72c30c7 commit c9b4675
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 177 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
InputLabel,
MenuItem
} from '@mui/material';
import schema from './Schema';
import React, { useEffect, useState } from 'react';
import * as _ from 'lodash';
import { Stack } from '@mui/material';
Expand Down Expand Up @@ -61,13 +60,6 @@ const AddPIIDialog = (props: any) => {
}
});

if (!_.isEmpty(transformationOptions))
_.set(
schema,
['schema', 'properties', 'section', 'properties', 'transformations', 'enum'],
transformationOptions
);

useEffect(() => {
const transformations = _.get(data, ['column'], '');

Expand All @@ -83,11 +75,6 @@ const AddPIIDialog = (props: any) => {
setFormData(existingData);
}

_.set(
schema,
['uiSchema', 'section', 'transformations', 'ui:disabled'],
_.includes(_.map(addedSuggestions, 'column'), transformations)
);
}, [data, addedSuggestions]);

const onHandleClick = async () => {
Expand Down

This file was deleted.

0 comments on commit c9b4675

Please sign in to comment.