Skip to content

Commit

Permalink
lint + remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Mar 20, 2024
1 parent 632af60 commit bf5a4c6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,14 @@ export class FieldsMappingStepComponent implements OnInit {
*/
invalidEntityControls(entityFormLabel: string) {
let result: number = 0;
console.log(this.targetFields
.find(({ entity }) => entity.label === entityFormLabel))
this.targetFields
.find(({ entity }) => entity.label === entityFormLabel)
.themes.forEach(({ fields }) => {
fields.forEach((field) => {
let control = this.mappingFormControl.controls[field.name_field]
let control = this.mappingFormControl.controls[field.name_field];
result += control.status === 'INVALID' ? 1 : 0;
});
});
console.log(result);
return result;
}

Expand Down

0 comments on commit bf5a4c6

Please sign in to comment.