Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe committed May 5, 2020
1 parent eec4000 commit d761658
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@
function onVariantValidation(valid, errors, allErrors, culture, segment) {

// only want to react to property errors:
if(errors.findIndex(error => {console.log("reject this", error, error.propertyAlias !== null); return error.propertyAlias !== null;}) === -1) {
console.log("rejected", errors)
if(errors.findIndex(error => {return error.propertyAlias !== null;}) === -1) {
// we dont have any errors for properties, meaning we will back out.
return;
}
Expand Down

0 comments on commit d761658

Please sign in to comment.