From 92128fff7e2ab6723640924288ce3e5c6baff5a8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 Jun 2020 09:10:05 +0200 Subject: Fix config form issue with index URL --- .../shared/forms/form-validators/custom-config-validators.service.ts | 3 +-- 1 file changed, 1 insertion(+), 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 d20754d11..abcbca817 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 @@ -81,9 +81,8 @@ export class CustomConfigValidatorsService { } this.INDEX_URL = { - VALIDATORS: [ Validators.required, Validators.pattern(/^https:\/\//) ], + VALIDATORS: [ Validators.pattern(/^https:\/\//) ], MESSAGES: { - 'required': this.i18n('Index URL is required.'), 'pattern': this.i18n('Index URL should be a URL') } } -- cgit v1.2.3