diff options
author | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-06 19:18:00 +0200 |
---|---|---|
committer | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-06 19:18:00 +0200 |
commit | e0d827e29afc1b29eaf550deb0627c13088c0c65 (patch) | |
tree | 1b7093811dbeec9a05f01bb8c7e7298dcb546b73 /client/src/app/videos/+video-edit/shared/video-edit.component.ts | |
parent | 156c50af3085468a47b8ae73fe8cfcae46b42398 (diff) | |
download | PeerTube-e0d827e29afc1b29eaf550deb0627c13088c0c65.tar.gz PeerTube-e0d827e29afc1b29eaf550deb0627c13088c0c65.tar.zst PeerTube-e0d827e29afc1b29eaf550deb0627c13088c0c65.zip |
Only show download button if downloadingEnabled is set to true
Diffstat (limited to 'client/src/app/videos/+video-edit/shared/video-edit.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts index eb9396d70..b09664376 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts | |||
@@ -80,6 +80,7 @@ export class VideoEditComponent implements OnInit, OnDestroy { | |||
80 | const defaultValues = { | 80 | const defaultValues = { |
81 | nsfw: 'false', | 81 | nsfw: 'false', |
82 | commentsEnabled: 'true', | 82 | commentsEnabled: 'true', |
83 | downloadingEnabled: 'true', | ||
83 | waitTranscoding: 'true', | 84 | waitTranscoding: 'true', |
84 | tags: [] | 85 | tags: [] |
85 | } | 86 | } |
@@ -89,6 +90,7 @@ export class VideoEditComponent implements OnInit, OnDestroy { | |||
89 | channelId: this.videoValidatorsService.VIDEO_CHANNEL, | 90 | channelId: this.videoValidatorsService.VIDEO_CHANNEL, |
90 | nsfw: null, | 91 | nsfw: null, |
91 | commentsEnabled: null, | 92 | commentsEnabled: null, |
93 | downloadingEnabled: null, | ||
92 | waitTranscoding: null, | 94 | waitTranscoding: null, |
93 | category: this.videoValidatorsService.VIDEO_CATEGORY, | 95 | category: this.videoValidatorsService.VIDEO_CATEGORY, |
94 | licence: this.videoValidatorsService.VIDEO_LICENCE, | 96 | licence: this.videoValidatorsService.VIDEO_LICENCE, |