Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix support field validation in video edit

Chocobozzz9f4183c9b57a
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 c269065516..6ab1a4a241 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 () {