menu update fixed

This commit is contained in:
Blandine Bajard 2022-03-04 15:40:26 +01:00
parent aecd8df7a6
commit 799c29e08f
2 changed files with 4 additions and 1 deletions

View File

@ -99,6 +99,7 @@
class="form-control" class="form-control"
formControlName="dateMenuFc" formControlName="dateMenuFc"
value="{{ menu.dateMenu }}" value="{{ menu.dateMenu }}"
[(ngModel)]="menu.dateMenu"
placeholder="Date" placeholder="Date"
name="date" name="date"
/> />
@ -107,6 +108,7 @@
class="form-control" class="form-control"
formControlName="repasMidiFc" formControlName="repasMidiFc"
value="{{ menu.repasMidi }}" value="{{ menu.repasMidi }}"
[(ngModel)]="menu.repasMidi"
placeholder="Repas du midi" placeholder="Repas du midi"
name="repasMidi" name="repasMidi"
/> />
@ -115,6 +117,7 @@
class="form-control" class="form-control"
formControlName="repasSoirFc" formControlName="repasSoirFc"
value="{{ menu.repasSoir }}" value="{{ menu.repasSoir }}"
[(ngModel)]="menu.repasSoir"
placeholder="Repas du soir" placeholder="Repas du soir"
name="repasSoir" name="repasSoir"
/> />

View File

@ -63,7 +63,7 @@ export class PageForgotPasswordComponent implements OnInit {
}) })
}, },
error: err => { 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; this.isShow = true;
}, },
complete: () => console.log('DONE!') complete: () => console.log('DONE!')