diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-10 17:43:40 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-10 17:46:29 +0200 |
commit | 00a446454d4721fc49517815655f6b4f8a17b554 (patch) | |
tree | 26f41fc11c059d5b051a98099857db971623b5d9 /client/src/app/login | |
parent | e822fdaeee90cb7c70d5678f19249198cd7aae8c (diff) | |
download | PeerTube-00a446454d4721fc49517815655f6b4f8a17b554.tar.gz PeerTube-00a446454d4721fc49517815655f6b4f8a17b554.tar.zst PeerTube-00a446454d4721fc49517815655f6b4f8a17b554.zip |
Add tags support to the video list
Diffstat (limited to 'client/src/app/login')
-rw-r--r-- | client/src/app/login/login.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts index 768594ac4..bcfa021fa 100644 --- a/client/src/app/login/login.component.ts +++ b/client/src/app/login/login.component.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Component } from '@angular/core'; | 1 | import { Component } from '@angular/core'; |
2 | import { Router } from '@angular/router-deprecated'; | 2 | import { Router } from '@angular/router'; |
3 | 3 | ||
4 | import { AuthService, AuthStatus, User } from '../shared'; | 4 | import { AuthService, AuthStatus, User } from '../shared'; |
5 | 5 | ||
@@ -26,7 +26,7 @@ export class LoginComponent { | |||
26 | 26 | ||
27 | this.authService.setStatus(AuthStatus.LoggedIn); | 27 | this.authService.setStatus(AuthStatus.LoggedIn); |
28 | 28 | ||
29 | this.router.navigate(['VideosList']); | 29 | this.router.navigate(['/videos/list']); |
30 | }, | 30 | }, |
31 | error => { | 31 | error => { |
32 | if (error.error === 'invalid_grant') { | 32 | if (error.error === 'invalid_grant') { |