diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-10 18:14:01 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-10 18:14:01 +0200 |
commit | c6de16eb1d243610472316ea080348af4c3084ba (patch) | |
tree | d385fca979e1000159860a1843818d6a1654a83c /client/src/app/videos | |
parent | 3d1c18ff1fd0597ee7852bdecbfcda64b28deb19 (diff) | |
download | PeerTube-c6de16eb1d243610472316ea080348af4c3084ba.tar.gz PeerTube-c6de16eb1d243610472316ea080348af4c3084ba.tar.zst PeerTube-c6de16eb1d243610472316ea080348af4c3084ba.zip |
Fix redirection after the upload of a video
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/video-add/video-add.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
126 | console.log('Video uploaded.'); | 126 | console.log('Video uploaded.'); |
127 | 127 | ||
128 | // Print all the videos once it's finished | 128 | // Print all the videos once it's finished |
129 | this.router.navigate(['VideosList']); | 129 | this.router.navigate(['/videos/list']); |
130 | }; | 130 | }; |
131 | 131 | ||
132 | item.onError = (response: string, status: number) => { | 132 | item.onError = (response: string, status: number) => { |