member signin btn router update
This commit is contained in:
parent
d2782be605
commit
003902a858
|
@ -16,7 +16,7 @@ export class ResetPasswordComponent implements OnInit {
|
|||
|
||||
constructor(
|
||||
private router: Router,
|
||||
private formBuilder: FormBuilder,) { }
|
||||
private formBuilder: FormBuilder) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.resetPassword = this.formBuilder.group({
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
</mat-card-content>
|
||||
|
||||
<mat-card-subtitle>
|
||||
<button mat-raised-button mat-warn color="warn" (click)="signin()">Forgot Password</button>
|
||||
<button mat-raised-button color="primary" (click)="signin()">Sign Up</button>
|
||||
<button mat-raised-button mat-warn color="warn" (click)="resetPasswordBtnClick()">Forgot Password</button>
|
||||
<button mat-raised-button color="primary" (click)="signupBtnClick()">Sign Up</button>
|
||||
</mat-card-subtitle>
|
||||
</mat-card>
|
||||
|
|
|
@ -41,6 +41,13 @@ export class SigninComponent implements OnInit {
|
|||
|
||||
}
|
||||
|
||||
resetPasswordBtnClick() {
|
||||
this.router.navigateByUrl('/auth/reset-password');
|
||||
}
|
||||
|
||||
signupBtnClick() {
|
||||
this.router.navigateByUrl('/auth/signrup');
|
||||
}
|
||||
login() {
|
||||
console.log('signin component login fnc');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user