Skip to content

Commit

Permalink
LPS-135564 No longer necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
carolmariaabb authored and brianchandotcom committed Jul 13, 2021
1 parent a97eb90 commit 923fcc1
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@ const getValidationFromExpression = (validations, validation) => {
};

const transformValidations = (validations, dataType) => {
return validations[normalizeDataType(dataType)]
.filter(({name}) => name !== 'dateRange' && name !== 'pastDates')
.map((validation) => {
return {
...validation,
checked: false,
value: validation.name,
};
});
return validations[normalizeDataType(dataType)].map((validation) => {
return {
...validation,
checked: false,
value: validation.name,
};
});
};

const getValidation = (validations, transformValidationFromExpression) => {
Expand Down

0 comments on commit 923fcc1

Please sign in to comment.