Mercurial > gemma
comparison client/src/components/importconfiguration/ScheduledImports.vue @ 3557:c9c806e35855
client: import configuration: check username/password only if required
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 31 May 2019 16:02:37 +0200 |
parents | 7ffc42bb6ec5 |
children | 2c92e9cd0889 |
comparison
equal
deleted
inserted
replaced
3556:bf8f21ef40b8 | 3557:c9c806e35855 |
---|---|
591 if (this.directImport && !this.uploadFile) return false; | 591 if (this.directImport && !this.uploadFile) return false; |
592 else if (!this.directImport) { | 592 else if (!this.directImport) { |
593 if (this.isURLRequired && !this.url) return false; | 593 if (this.isURLRequired && !this.url) return false; |
594 if (this.isSortbyRequired && !this.sortBy) return false; | 594 if (this.isSortbyRequired && !this.sortBy) return false; |
595 if (this.isFeatureTypeRequired && !this.featureType) return false; | 595 if (this.isFeatureTypeRequired && !this.featureType) return false; |
596 if (!this.usernamePasswordFilled) return false; | 596 if (this.isCredentialsRequired && !this.usernamePasswordFilled) |
597 return false; | |
597 if (this.import_ == this.$options.IMPORTTYPES.FAIRWAYDIMENSION) { | 598 if (this.import_ == this.$options.IMPORTTYPES.FAIRWAYDIMENSION) { |
598 if ( | 599 if ( |
599 !this.LOS || | 600 !this.LOS || |
600 !this.minWidth || | 601 !this.minWidth || |
601 !this.maxWidth || | 602 !this.maxWidth || |