From 9e91237655dfc2f7e2f03f77bb98992cfdd5c43f Mon Sep 17 00:00:00 2001 From: Jorropo Date: Tue, 21 Aug 2018 14:09:53 +0200 Subject: [PATCH] Fix AutoThread --- .../forms/form-validators/custom-config-validators.service.ts | 4 ++-- 1 file 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 { } this.TRANSCODING_THREADS = { - VALIDATORS: [ Validators.required, Validators.min(1) ], + VALIDATORS: [ Validators.required, Validators.min(0) ], MESSAGES: { 'required': this.i18n('Transcoding threads is required.'), - 'min': this.i18n('Transcoding threads must be greater than 1.') + 'min': this.i18n('Transcoding threads must be greater or equal to 0.') } } } -- 2.41.0