X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-edit%2Fvideo-update.component.ts;h=20a6071349c763c9923912fc8ba5da260fe01a7c;hb=45c6bcf312d2e9578501eaaf7511183bc570fe91;hp=81c66ff209878d42230380bfaf35da34f4e94deb;hpb=12bec528aafd895075e19486b87b64f0f58581ac;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts index 81c66ff20..20a607134 100644 --- a/client/src/app/videos/+video-edit/video-update.component.ts +++ b/client/src/app/videos/+video-edit/video-update.component.ts @@ -35,7 +35,6 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { private route: ActivatedRoute, private router: Router, private notifier: Notifier, - private serverService: ServerService, private videoService: VideoService, private loadingBar: LoadingBarService, private videoCaptionService: VideoCaptionService, @@ -56,7 +55,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { this.schedulePublicationPossible = this.video.privacy === VideoPrivacy.PRIVATE - const videoFiles = (video as VideoDetails).files + const videoFiles = (video as VideoDetails).getFiles() if (videoFiles.length > 1) { // Already transcoded this.waitTranscodingEnabled = false }