]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix redirection after the upload of a video
authorChocobozzz <florian.bigard@gmail.com>
Fri, 10 Jun 2016 16:14:01 +0000 (18:14 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 10 Jun 2016 16:14:01 +0000 (18:14 +0200)
client/src/app/videos/video-add/video-add.component.ts

index 7d8fbdc29ac57c1e4aa1e36816ed0b522927a8e2..342935e36c0eab4d48ba64a5e959f9a1b17548f8 100644 (file)
@@ -126,7 +126,7 @@ export class VideoAddComponent implements OnInit {
       console.log('Video uploaded.');
 
       // Print all the videos once it's finished
-      this.router.navigate(['VideosList']);
+      this.router.navigate(['/videos/list']);
     };
 
     item.onError = (response: string, status: number) => {