diff options
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/+video-edit/video-import.component.ts | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.component.ts b/client/src/app/videos/+video-edit/video-add.component.ts index d38a53db9..69b364ddd 100644 --- a/client/src/app/videos/+video-edit/video-add.component.ts +++ b/client/src/app/videos/+video-edit/video-add.component.ts | |||
@@ -33,6 +33,6 @@ export class VideoAddComponent implements CanComponentDeactivate { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | isVideoImportEnabled () { | 35 | isVideoImportEnabled () { |
36 | return this.serverService.getConfig().import.video.http.enabled | 36 | return this.serverService.getConfig().import.videos.http.enabled |
37 | } | 37 | } |
38 | } | 38 | } |
diff --git a/client/src/app/videos/+video-edit/video-import.component.ts b/client/src/app/videos/+video-edit/video-import.component.ts index b1e8e0205..5f14efd54 100644 --- a/client/src/app/videos/+video-edit/video-import.component.ts +++ b/client/src/app/videos/+video-edit/video-import.component.ts | |||
@@ -145,8 +145,7 @@ export class VideoImportComponent extends FormReactive implements OnInit, CanCom | |||
145 | this.loadingBar.complete() | 145 | this.loadingBar.complete() |
146 | this.notificationsService.success(this.i18n('Success'), this.i18n('Video to import updated.')) | 146 | this.notificationsService.success(this.i18n('Success'), this.i18n('Video to import updated.')) |
147 | 147 | ||
148 | // TODO: route to imports list | 148 | this.router.navigate([ '/my-account', 'video-imports' ]) |
149 | // this.router.navigate([ '/videos/watch', this.video.uuid ]) | ||
150 | }, | 149 | }, |
151 | 150 | ||
152 | err => { | 151 | err => { |