Skip to content

Commit 6da0b42

Browse files
committed
final prep 3
1 parent 9bc184e commit 6da0b42

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

angular-src/src/app/components/home/home.component.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@ export class HomeComponent implements OnInit {
1212
constructor(private authService : AuthService,
1313
private router: Router) {
1414

15+
//console.log("Hi");
16+
1517
if(authService.loggedIn()){
16-
this.router.navigate(['dashboard']);
18+
19+
//console.log("Logged In");
20+
this.router.navigate(['/dashboard']);
1721
}
1822

23+
24+
1925
}
2026

2127
ngOnInit() {

public/inline.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/main.bundle.js

Lines changed: 16 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/main.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)