X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-edit%2Fvideo-update.component.ts;h=30390ac058ef23836a9a2f420e6c0bdaa407d383;hb=9d9597df427542eb5c7d3ba8ff5aeb146fab40e2;hp=70cb334fddde57e1192e0b89160d7e9cf8e97a55;hpb=4077df72c634ff17aaf69cc612fc6bb8d68b1ed8;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 70cb334fd..30390ac05 100644 --- a/client/src/app/videos/+video-edit/video-update.component.ts +++ b/client/src/app/videos/+video-edit/video-update.component.ts @@ -87,7 +87,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { this.videoService.getVideo(uuid) .subscribe( video => { - this.video = video + this.video = new VideoEdit(video) this.hydrateFormFromVideo() },