aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-21 18:23:20 +0100
committerChocobozzz <me@florianbigard.com>2018-02-21 18:23:20 +0100
commit9f4183c9b57acd382668d49e86b0001bcd55550f (patch)
tree59641d4bd203c59e137b39bab6f14ba96aebbdca /client/src/app/videos/+video-edit
parent86ec3e53ac75bc101959add910051f41a2b8245d (diff)
downloadPeerTube-9f4183c9b57acd382668d49e86b0001bcd55550f.tar.gz
PeerTube-9f4183c9b57acd382668d49e86b0001bcd55550f.tar.zst
PeerTube-9f4183c9b57acd382668d49e86b0001bcd55550f.zip
Fix support field validation in video edit
Diffstat (limited to 'client/src/app/videos/+video-edit')
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.ts2
1 files changed, 1 insertions, 1 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 c26906551..6ab1a4a24 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
@@ -85,7 +85,7 @@ export class VideoEditComponent implements OnInit {
85 this.form.addControl('tags', new FormControl('')) 85 this.form.addControl('tags', new FormControl(''))
86 this.form.addControl('thumbnailfile', new FormControl('')) 86 this.form.addControl('thumbnailfile', new FormControl(''))
87 this.form.addControl('previewfile', new FormControl('')) 87 this.form.addControl('previewfile', new FormControl(''))
88 this.form.addControl('support', new FormControl('')) 88 this.form.addControl('support', new FormControl('', VIDEO_SUPPORT.VALIDATORS))
89 } 89 }
90 90
91 ngOnInit () { 91 ngOnInit () {