From fe0836a00a18a2a75bd176227937ebd9accd77ee Mon Sep 17 00:00:00 2001 From: Guilhem CARRON <gcarron@grandlyon.com> Date: Wed, 2 Nov 2022 10:01:45 +0000 Subject: [PATCH] fix: onboarding structure creation missing end button --- src/app/form/footer-form/footer-form.component.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/app/form/footer-form/footer-form.component.ts b/src/app/form/footer-form/footer-form.component.ts index 92f8951d6..45f2ba576 100644 --- a/src/app/form/footer-form/footer-form.component.ts +++ b/src/app/form/footer-form/footer-form.component.ts @@ -64,13 +64,6 @@ export class FooterFormComponent implements OnChanges { ) { this.isNextFormTransition = true; } - - if (this.currentForm === formType.structure && this.currentStep === structureFormStep.mailSentInfo) { - const user: User = await this.profileService.getProfile(); - if (!user.job || !user.job.hasPersonalOffer) { - this.isLastFormStep = true; - } - } if ( this.currentForm === formType.structure && (this.currentStep === structureFormStep.noStructure || -- GitLab