aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorJorropo <jorropo.pgm@gmail.com>2018-08-21 14:09:53 +0200
committerChocobozzz <me@florianbigard.com>2018-08-21 14:42:52 +0200
commit9e91237655dfc2f7e2f03f77bb98992cfdd5c43f (patch)
treebfa71e8b1e69f1576c4e0e219eb0706660691c6f /client/src/app/shared
parent65fcf1e9c28cd801c3c7b0c70f28d1ed52d3fd3a (diff)
downloadPeerTube-9e91237655dfc2f7e2f03f77bb98992cfdd5c43f.tar.gz
PeerTube-9e91237655dfc2f7e2f03f77bb98992cfdd5c43f.tar.zst
PeerTube-9e91237655dfc2f7e2f03f77bb98992cfdd5c43f.zip
Fix AutoThread
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/forms/form-validators/custom-config-validators.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts b/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts
index 0c2489a9d..882e39453 100644
--- a/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts
+++ b/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts
@@ -72,10 +72,10 @@ export class CustomConfigValidatorsService {
72 } 72 }
73 73
74 this.TRANSCODING_THREADS = { 74 this.TRANSCODING_THREADS = {
75 VALIDATORS: [ Validators.required, Validators.min(1) ], 75 VALIDATORS: [ Validators.required, Validators.min(0) ],
76 MESSAGES: { 76 MESSAGES: {
77 'required': this.i18n('Transcoding threads is required.'), 77 'required': this.i18n('Transcoding threads is required.'),
78 'min': this.i18n('Transcoding threads must be greater than 1.') 78 'min': this.i18n('Transcoding threads must be greater or equal to 0.')
79 } 79 }
80 } 80 }
81 } 81 }