aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/shared/video-edit.component.ts
diff options
context:
space:
mode:
authorLucas Declercq <lucas.declercq@ineat-conseil.fr>2018-10-06 19:18:00 +0200
committerLucas Declercq <lucas.declercq@ineat-conseil.fr>2018-10-06 19:18:00 +0200
commite0d827e29afc1b29eaf550deb0627c13088c0c65 (patch)
tree1b7093811dbeec9a05f01bb8c7e7298dcb546b73 /client/src/app/videos/+video-edit/shared/video-edit.component.ts
parent156c50af3085468a47b8ae73fe8cfcae46b42398 (diff)
downloadPeerTube-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.ts2
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,