From: Chocobozzz Date: Wed, 21 Feb 2018 17:23:20 +0000 (+0100) Subject: Fix support field validation in video edit X-Git-Tag: v0.0.27-alpha~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9f4183c9b57acd382668d49e86b0001bcd55550f;p=oweals%2Fpeertube.git Fix support field validation in video edit --- 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 { this.form.addControl('tags', new FormControl('')) this.form.addControl('thumbnailfile', new FormControl('')) this.form.addControl('previewfile', new FormControl('')) - this.form.addControl('support', new FormControl('')) + this.form.addControl('support', new FormControl('', VIDEO_SUPPORT.VALIDATORS)) } ngOnInit () {