Project

General

Profile

« Previous | Next » 

Revision 53222

fixed login issue

View differences:

landing.component.ts
44 44
    );
45 45
  }
46 46

  
47
  goToPage(pageUrl: string) {
48
    if (this.authService.getIsUserLoggedIn()) {
49
      this.router.navigate([pageUrl]);
50
    } else {
51
      this.login();
52
    }
53
  }
54

  
47 55
}

Also available in: Unified diff