Skip to content
Snippets Groups Projects
Commit a681d280 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

rm console.log

parent 71537538
No related branches found
No related tags found
No related merge requests found
...@@ -625,7 +625,6 @@ export class IndexingFormComponent implements OnInit { ...@@ -625,7 +625,6 @@ export class IndexingFormComponent implements OnInit {
})); }));
if (this.resId !== null) { if (this.resId !== null) {
console.log('set resource');
await this.setResource(saveResourceState); await this.setResource(saveResourceState);
} }
...@@ -641,7 +640,6 @@ export class IndexingFormComponent implements OnInit { ...@@ -641,7 +640,6 @@ export class IndexingFormComponent implements OnInit {
// this.fieldCategories.forEach(async element => { // this.fieldCategories.forEach(async element => {
await Promise.all(this['indexingModels_' + element].map(async (elem: any) => { await Promise.all(this['indexingModels_' + element].map(async (elem: any) => {
console.log(elem);
// this['indexingModels_' + element].forEach((elem: any) => { // this['indexingModels_' + element].forEach((elem: any) => {
const customId: any = Object.keys(data.customFields).filter(index => index === elem.identifier.split('indexingCustomField_')[1])[0]; const customId: any = Object.keys(data.customFields).filter(index => index === elem.identifier.split('indexingCustomField_')[1])[0];
...@@ -865,9 +863,9 @@ export class IndexingFormComponent implements OnInit { ...@@ -865,9 +863,9 @@ export class IndexingFormComponent implements OnInit {
const controlErrors: ValidationErrors = this.indexingFormGroup.get(key).errors; const controlErrors: ValidationErrors = this.indexingFormGroup.get(key).errors;
if (controlErrors != null) { if (controlErrors != null) {
this.indexingFormGroup.controls[key].markAsTouched(); this.indexingFormGroup.controls[key].markAsTouched();
Object.keys(controlErrors).forEach(keyError => { /*Object.keys(controlErrors).forEach(keyError => {
console.log('Key control: ' + key + ', keyError: ' + keyError + ', err value: ', controlErrors[keyError]); console.log('Key control: ' + key + ', keyError: ' + keyError + ', err value: ', controlErrors[keyError]);
}); });*/
} }
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment