From 66287ff7c54a670fdfc688a80d998087e90f4799 Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Fri, 30 Apr 2021 17:20:11 +0200 Subject: [PATCH] fix: changes after review --- src/app/form/form.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/form/form.component.ts b/src/app/form/form.component.ts index e0367bf0a..74de67430 100644 --- a/src/app/form/form.component.ts +++ b/src/app/form/form.component.ts @@ -157,6 +157,7 @@ export class FormComponent implements OnInit { this.profile = user; }); this.router.navigateByUrl('create-structure'); + this.progressStatus += (100 / this.nbPagesForm) * 2; this.pagesValidation[PageTypeEnum.accountInfo] = { valid: true }; this.pagesValidation[PageTypeEnum.accountCredentials] = { valid: true }; this.currentPage = PageTypeEnum.structureNameAndAddress; @@ -714,8 +715,6 @@ export class FormComponent implements OnInit { } if (this.currentPage == PageTypeEnum.structureWorkshop) { - //console.log('procedure:', this.proceduresAccompaniment.); - // console.log('public:', this..modules); if ( !this.structureForm.get('baseSkills').value.length && !this.structureForm.get('accessRight').value.length && @@ -756,8 +755,6 @@ export class FormComponent implements OnInit { this.progressStatus -= 100 / this.nbPagesForm; } if (this.currentPage == PageTypeEnum.structureWifi) { - //console.log('procedure:', this.proceduresAccompaniment.); - // console.log('public:', this..modules); if ( !this.structureForm.get('baseSkills').value.length && !this.structureForm.get('accessRight').value.length && -- GitLab