From a59f1c7dd72e33bb9b0d82757e68084bf73e7678 Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 28 May 2018 20:52:42 +0900 Subject: [PATCH] ing --- src/app/commons/store/container/signin/app-signin.effect.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/commons/store/container/signin/app-signin.effect.ts b/src/app/commons/store/container/signin/app-signin.effect.ts index c83dbe5..fb25829 100644 --- a/src/app/commons/store/container/signin/app-signin.effect.ts +++ b/src/app/commons/store/container/signin/app-signin.effect.ts @@ -43,7 +43,7 @@ export class Effects { const queryString = `authToken=${info.authToken}`; this.rpcService.connect(queryString); - this.router.navigateByUrl(info.returnURL); + this.router.navigateByUrl(info.returnURL ? info.returnURL : '/'); }) ); @@ -56,7 +56,7 @@ export class Effects { const queryString = `authToken=${authToken}`; this.rpcService.connect(queryString); - this.router.navigateByUrl(info.returnURL); + this.router.navigateByUrl(info.returnURL ? info.returnURL : '/'); }) );