aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/form-validators
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-15 11:37:30 +0200
committerChocobozzz <me@florianbigard.com>2021-10-15 11:45:03 +0200
commit1e2fe802d1f82b81ac30fd9ca267da12f75032a2 (patch)
treec1d7142f825e277b56b5cd73f9de601ddcb20077 /client/src/app/shared/form-validators
parent3eb7ee658db32d270553046eeb77afc679a71466 (diff)
downloadPeerTube-1e2fe802d1f82b81ac30fd9ca267da12f75032a2.tar.gz
PeerTube-1e2fe802d1f82b81ac30fd9ca267da12f75032a2.tar.zst
PeerTube-1e2fe802d1f82b81ac30fd9ca267da12f75032a2.zip
Force live type specification in first step
Diffstat (limited to 'client/src/app/shared/form-validators')
-rw-r--r--client/src/app/shared/form-validators/video-validators.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/form-validators/video-validators.ts b/client/src/app/shared/form-validators/video-validators.ts
index f96189aa2..ab6f21a35 100644
--- a/client/src/app/shared/form-validators/video-validators.ts
+++ b/client/src/app/shared/form-validators/video-validators.ts
@@ -86,7 +86,7 @@ export const VIDEO_SUPPORT_VALIDATOR: BuildFormValidator = {
86} 86}
87 87
88export const VIDEO_SCHEDULE_PUBLICATION_AT_VALIDATOR: BuildFormValidator = { 88export const VIDEO_SCHEDULE_PUBLICATION_AT_VALIDATOR: BuildFormValidator = {
89 VALIDATORS: [ ], 89 VALIDATORS: [ ], // Required is set dynamically
90 MESSAGES: { 90 MESSAGES: {
91 required: $localize`A date is required to schedule video update.` 91 required: $localize`A date is required to schedule video update.`
92 } 92 }