Fix redirection after the upload of a video

pull/10/head
Chocobozzz 2016-06-10 18:14:01 +02:00
parent 3d1c18ff1f
commit c6de16eb1d
1 changed files with 1 additions and 1 deletions

View File

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