fix(ui) - elastic config validation rules
This commit is contained in:
parent
373f5f87b3
commit
cad7dd39d7
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export default Record({
|
|||
}),
|
||||
methods: {
|
||||
validateKeys() {
|
||||
return this.apiKeyId.length === API_KEY_ID_LENGTH && this.apiKey.length === API_KEY_LENGTH && validateURL(this.host);
|
||||
return this.apiKeyId.length >= API_KEY_ID_LENGTH && this.apiKey.length >= API_KEY_LENGTH && validateURL(this.host);
|
||||
},
|
||||
validate() {
|
||||
return this.host !== '' && this.apiKeyId !== '' && this.apiKey !== '' && this.indexes !== '' && !!this.port &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue