# HG changeset patch # User Thomas Junk # Date 1547723112 -3600 # Node ID 9141abe7c75a83c5b0e52f462cc9aa6e9e238d33 # Parent 5996b50d154a106c6497dfcacb1ce2d2f5fb1ffa import fairwaydimensions: fields pushed/retrieved diff -r 5996b50d154a -r 9141abe7c75a client/src/components/importschedule/Importscheduledetail.vue --- a/client/src/components/importschedule/Importscheduledetail.vue Thu Jan 17 11:58:46 2019 +0100 +++ b/client/src/components/importschedule/Importscheduledetail.vue Thu Jan 17 12:05:12 2019 +0100 @@ -665,6 +665,7 @@ switch (this.import_) { case this.$options.IMPORTTYPES.WATERWAYAXIS: case this.$options.IMPORTTYPES.WATERWAYAREA: + case this.$options.IMPORTTYPES.FAIRWAYDIMENSIONS: return true; default: return false; @@ -822,13 +823,14 @@ !this.depth || !this.sourceOrganization ) - addAttribute(data, { - LOS: this.LOS, - minWidth: this.minWidth, - maxWidth: this.maxWidth, - depth: this.depth, - sourceOrganization: this.sourceOrganization - }); + return; + addAttribute(data, { + LOS: this.LOS, + minWidth: this.minWidth, + maxWidth: this.maxWidth, + depth: this.depth, + sourceOrganization: this.sourceOrganization + }); } if (this.scheduled) data["cron"] = cron; data["kind"] = IMPORTTYPEKIND[this.import_]; diff -r 5996b50d154a -r 9141abe7c75a client/src/store/imports.js --- a/client/src/store/imports.js Thu Jan 17 11:58:46 2019 +0100 +++ b/client/src/store/imports.js Thu Jan 17 12:05:12 2019 +0100 @@ -29,8 +29,8 @@ GAUGEMEASUREMENT: "gaugemeasurement", FAIRWAYAVAILABILITY: "fairwayavailability", WATERWAYAREA: "waterwayarea", - FAIRWAYDIMENSIONS: "fd", - WATERWAYGAUGES: "wg" + FAIRWAYDIMENSIONS: "fairwaydimensions", + WATERWAYGAUGES: "waterwaygauges" }; const SCHEDULES = {