From 003902a858ad35858fd848da693e678b30f4d0d2 Mon Sep 17 00:00:00 2001 From: geek Date: Fri, 9 Feb 2018 16:21:57 +0900 Subject: [PATCH] member signin btn router update --- .../component/reset-password/reset-password.component.ts | 2 +- .../packages/member/component/signin/signin.component.html | 4 ++-- .../packages/member/component/signin/signin.component.ts | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/app/packages/member/component/reset-password/reset-password.component.ts b/src/app/packages/member/component/reset-password/reset-password.component.ts index 8f0540b..d6feb00 100644 --- a/src/app/packages/member/component/reset-password/reset-password.component.ts +++ b/src/app/packages/member/component/reset-password/reset-password.component.ts @@ -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({ diff --git a/src/app/packages/member/component/signin/signin.component.html b/src/app/packages/member/component/signin/signin.component.html index 0d314c7..8571642 100644 --- a/src/app/packages/member/component/signin/signin.component.html +++ b/src/app/packages/member/component/signin/signin.component.html @@ -24,7 +24,7 @@ - - + + diff --git a/src/app/packages/member/component/signin/signin.component.ts b/src/app/packages/member/component/signin/signin.component.ts index 67196ea..e8ead98 100644 --- a/src/app/packages/member/component/signin/signin.component.ts +++ b/src/app/packages/member/component/signin/signin.component.ts @@ -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'); }