From 9f4183c9b57acd382668d49e86b0001bcd55550f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Feb 2018 18:23:20 +0100 Subject: [PATCH] Fix support field validation in video edit --- .../src/app/videos/+video-edit/shared/video-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { -- 2.25.1