]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/forms/form-validators/video.ts
Add channels to upload form
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / forms / form-validators / video.ts
index 32b1f1c2ebf0fb8fc02dffa9f852450a2383caf0..213ab15db2caa82d0a70c2ab1d7b9d5eef73b979 100644 (file)
@@ -28,6 +28,13 @@ export const VIDEO_LANGUAGE = {
   MESSAGES: {}
 }
 
+export const VIDEO_CHANNEL = {
+  VALIDATORS: [ Validators.required ],
+  MESSAGES: {
+    'required': 'Video channel is required.'
+  }
+}
+
 export const VIDEO_DESCRIPTION = {
   VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(250) ],
   MESSAGES: {