]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts
Add downloadingEnabled property to video model
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add-components / video-import-url.component.ts
index 031e557ed688b8dd6bb80c569ec19266a2a86d6e..11db4a7ef42a73e12344c22f69cef3445c25be64 100644 (file)
@@ -69,6 +69,7 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, CanCom
       privacy: this.firstStepPrivacyId,
       waitTranscoding: false,
       commentsEnabled: true,
+      downloadingEnabled: true,
       channelId: this.firstStepChannelId
     }
 
@@ -83,6 +84,7 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, CanCom
 
         this.video = new VideoEdit(Object.assign(res.video, {
           commentsEnabled: videoUpdate.commentsEnabled,
+          downloadingEnabled: videoUpdate.downloadingEnabled,
           support: null,
           thumbnailUrl: null,
           previewUrl: null