diff --git a/src/app/form/form-view/structure-form/structure-form.component.ts b/src/app/form/form-view/structure-form/structure-form.component.ts index 769824f364ebac0aa65daa18db9c501427148161..dc85a4ee18b823c2b406bfb7601e850e275e656b 100644 --- a/src/app/form/form-view/structure-form/structure-form.component.ts +++ b/src/app/form/form-view/structure-form/structure-form.component.ts @@ -180,7 +180,7 @@ export class StructureFormComponent implements OnChanges, OnInit { valid: this.structureForm.get('freeWorkShop').valid, }; this.pagesValidation[structureFormStep.structureWifi] = { - valid: this.structureForm.get('categories').get('selfServiceMaterial').valid, + valid: this.structureForm.get('freeWifi').valid, }; this.pagesValidation[structureFormStep.structureEquipments] = { valid: diff --git a/src/app/form/form-view/structure-form/structure-wifi/structure-wifi.component.ts b/src/app/form/form-view/structure-form/structure-wifi/structure-wifi.component.ts index 818d0a8b842d47412b92e0bb27b1b41121c1db41..d09ef61d17ada8f91c9e1d3e28aacf495a8a020b 100644 --- a/src/app/form/form-view/structure-form/structure-wifi/structure-wifi.component.ts +++ b/src/app/form/form-view/structure-form/structure-wifi/structure-wifi.component.ts @@ -16,7 +16,6 @@ export class StructureWifiComponent implements OnInit { public formUtils = new FormUtils(); ngOnInit(): void { this.validateForm.emit(); - console.log('freewifi', this.structureForm.get('freeWifi').value); } public isInArray(formControlName: string, term: string): boolean { return this.formUtils.isInCategoryArray(term, formControlName, this.structureForm);