ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix upload can deactivate
Chocobozzz221d876fa7a9
diff --git a/client/src/app/+videos/+video-edit/video-add.component.ts b/client/src/app/+videos/+video-edit/video-add.component.tsindex bcb2fc4fa5..25203de1b4 100644--- a/client/src/app/+videos/+video-edit/video-add.component.ts+++ b/client/src/app/+videos/+video-edit/video-add.component.ts@@ -144,6 +144,7 @@ export class VideoAddComponent implements OnInit, CanComponentDeactivate {}canDeactivate (): { canDeactivate: boolean, text?: string} {+ if (this.secondStepType === 'upload') return this.videoUpload.canDeactivate()if (this.secondStepType === 'import-url') return this.videoImportUrl.canDeactivate()if (this.secondStepType === 'import-torrent') return this.videoImportTorrent.canDeactivate()if (this.secondStepType === 'go-live') return this.videoGoLive.canDeactivate()