This commit is contained in:
crusader 2018-05-28 22:01:27 +09:00
parent 0a6b44c2d2
commit c1771e586c

View File

@ -24,7 +24,7 @@ export class AuthGuard implements CanActivate, CanActivateChild {
private cookieService: CookieService,
) { }
canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> {
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> {
return this.store.pipe(
select(AuthContainerSelector.selectSignined),
map(signined => {
@ -46,7 +46,7 @@ export class AuthGuard implements CanActivate, CanActivateChild {
);
}
canActivateChild(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> {
canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> {
return this.store.pipe(
select(AuthContainerSelector.selectSignined),
map(signined => {