aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-edit/video-add.component.ts2
1 files changed, 1 insertions, 1 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 25203de1b..460c37a38 100644
--- a/client/src/app/+videos/+video-edit/video-add.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add.component.ts
@@ -143,7 +143,7 @@ export class VideoAddComponent implements OnInit, CanComponentDeactivate {
143 return text 143 return text
144 } 144 }
145 145
146 canDeactivate (): { canDeactivate: boolean, text?: string} { 146 canDeactivate (): { canDeactivate: boolean, text?: string } {
147 if (this.secondStepType === 'upload') return this.videoUpload.canDeactivate() 147 if (this.secondStepType === 'upload') return this.videoUpload.canDeactivate()
148 if (this.secondStepType === 'import-url') return this.videoImportUrl.canDeactivate() 148 if (this.secondStepType === 'import-url') return this.videoImportUrl.canDeactivate()
149 if (this.secondStepType === 'import-torrent') return this.videoImportTorrent.canDeactivate() 149 if (this.secondStepType === 'import-torrent') return this.videoImportTorrent.canDeactivate()