diff options
author | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-06 19:17:21 +0200 |
---|---|---|
committer | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-06 19:17:39 +0200 |
commit | 156c50af3085468a47b8ae73fe8cfcae46b42398 (patch) | |
tree | f316355ebea2550c201a880cfc9f9b724bf0f7fd /client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts | |
parent | 35d50b7dd26b3cf646b8845784927bb1ef18dfb3 (diff) | |
download | PeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.tar.gz PeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.tar.zst PeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.zip |
Add downloadingEnabled property to video model
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts b/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts index 031e557ed..11db4a7ef 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts | |||
@@ -69,6 +69,7 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, CanCom | |||
69 | privacy: this.firstStepPrivacyId, | 69 | privacy: this.firstStepPrivacyId, |
70 | waitTranscoding: false, | 70 | waitTranscoding: false, |
71 | commentsEnabled: true, | 71 | commentsEnabled: true, |
72 | downloadingEnabled: true, | ||
72 | channelId: this.firstStepChannelId | 73 | channelId: this.firstStepChannelId |
73 | } | 74 | } |
74 | 75 | ||
@@ -83,6 +84,7 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, CanCom | |||
83 | 84 | ||
84 | this.video = new VideoEdit(Object.assign(res.video, { | 85 | this.video = new VideoEdit(Object.assign(res.video, { |
85 | commentsEnabled: videoUpdate.commentsEnabled, | 86 | commentsEnabled: videoUpdate.commentsEnabled, |
87 | downloadingEnabled: videoUpdate.downloadingEnabled, | ||
86 | support: null, | 88 | support: null, |
87 | thumbnailUrl: null, | 89 | thumbnailUrl: null, |
88 | previewUrl: null | 90 | previewUrl: null |