From 799c29e08f327b2b936423dfd97286a7d0f7039d Mon Sep 17 00:00:00 2001 From: Blandine Bajard <83599148+BlandineBajard@users.noreply.github.com> Date: Fri, 4 Mar 2022 15:40:26 +0100 Subject: [PATCH] menu update fixed --- src/app/components/card-menu/card-menu.component.html | 3 +++ .../page-forgot-password/page-forgot-password.component.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/components/card-menu/card-menu.component.html b/src/app/components/card-menu/card-menu.component.html index 5c4b597..b0990b1 100644 --- a/src/app/components/card-menu/card-menu.component.html +++ b/src/app/components/card-menu/card-menu.component.html @@ -99,6 +99,7 @@ class="form-control" formControlName="dateMenuFc" value="{{ menu.dateMenu }}" + [(ngModel)]="menu.dateMenu" placeholder="Date" name="date" /> @@ -107,6 +108,7 @@ class="form-control" formControlName="repasMidiFc" value="{{ menu.repasMidi }}" + [(ngModel)]="menu.repasMidi" placeholder="Repas du midi" name="repasMidi" /> @@ -115,6 +117,7 @@ class="form-control" formControlName="repasSoirFc" value="{{ menu.repasSoir }}" + [(ngModel)]="menu.repasSoir" placeholder="Repas du soir" name="repasSoir" /> diff --git a/src/app/pages/page-forgot-password/page-forgot-password.component.ts b/src/app/pages/page-forgot-password/page-forgot-password.component.ts index e10943a..5f60b51 100644 --- a/src/app/pages/page-forgot-password/page-forgot-password.component.ts +++ b/src/app/pages/page-forgot-password/page-forgot-password.component.ts @@ -63,7 +63,7 @@ export class PageForgotPasswordComponent implements OnInit { }) }, error: err => { - this.alert={"type":"danger", "content":"Le mail a merdé, ou il n'y a personne ds la bdd !"}; + this.alert={"type":"danger", "content":"Votre email est erroné"}; this.isShow = true; }, complete: () => console.log('DONE!')