Fix config form issue with index URL
authorChocobozzz <me@florianbigard.com>
Fri, 5 Jun 2020 07:10:05 +0000 (09:10 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 5 Jun 2020 07:10:05 +0000 (09:10 +0200)
client/src/app/shared/forms/form-validators/custom-config-validators.service.ts

index d20754d11dd0b1f5aec80b3344b5ccc1be43c0d5..abcbca817ac52522baaddb0e63649826810c644c 100644 (file)
@@ -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')
       }
     }