Mercurial > gemma
changeset 3672:2c92e9cd0889 configuration
import_sounding_results: download meta.json fixed
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 17 Jun 2019 15:24:22 +0200 |
parents | 2c0170be6cf0 |
children | 256be8269227 |
files | client/src/components/importconfiguration/ScheduledImports.vue client/src/components/importconfiguration/types/Soundingresults.vue |
diffstat | 2 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/importconfiguration/ScheduledImports.vue Mon Jun 17 12:29:20 2019 +0200 +++ b/client/src/components/importconfiguration/ScheduledImports.vue Mon Jun 17 15:24:22 2019 +0200 @@ -392,7 +392,7 @@ Back </button> <div> - <button + <!-- <button v-if="!currentSchedule.id" @click="triggerManualImport" type="button" @@ -401,7 +401,7 @@ > <font-awesome-icon fixed-width icon="play" /> <translate>Trigger import</translate> - </button> + </button> --> <button v-if="!directImport || !directImportAvailable" :disabled="!isValid"
--- a/client/src/components/importconfiguration/types/Soundingresults.vue Mon Jun 17 12:29:20 2019 +0200 +++ b/client/src/components/importconfiguration/types/Soundingresults.vue Mon Jun 17 15:24:22 2019 +0200 @@ -369,7 +369,13 @@ return this.$gettext("Confirm"); }, dataLink() { - if (this.bottleneck && this.depthReference && this.import) { + if ( + this.bottleneck && + this.depthReference && + this.importDate && + this.beamType && + this.projection + ) { return ( "data:text/json;charset=utf-8," + encodeURIComponent( @@ -377,7 +383,8 @@ depthReference: this.depthReference, bottleneck: this.bottleneck.properties.objnam, date: this.importDate, - beamType: this.beamType + beamType: this.beamType, + projection: this.projection }) ) );