From: Chocobozzz Date: Fri, 10 Jun 2016 16:14:01 +0000 (+0200) Subject: Fix redirection after the upload of a video X-Git-Tag: v0.0.1-alpha~857 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c6de16eb1d243610472316ea080348af4c3084ba;p=oweals%2Fpeertube.git Fix redirection after the upload of a video --- diff --git a/client/src/app/videos/video-add/video-add.component.ts b/client/src/app/videos/video-add/video-add.component.ts index 7d8fbdc29..342935e36 100644 --- a/client/src/app/videos/video-add/video-add.component.ts +++ b/client/src/app/videos/video-add/video-add.component.ts @@ -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) => {