Mercurial > gemma
diff client/src/store/imports.js @ 1830:f1ac917ec4a0
import fairwaydimensions: added fields. PLUS TRANSLATIONS
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 16 Jan 2019 16:59:48 +0100 |
parents | 0f98ef2531a5 |
children | 9141abe7c75a |
line wrap: on
line diff
--- a/client/src/store/imports.js Wed Jan 16 16:34:47 2019 +0100 +++ b/client/src/store/imports.js Wed Jan 16 16:59:48 2019 +0100 @@ -82,7 +82,12 @@ featureType: null, sortBy: null, username: "", - password: "" + password: "", + LOS: null, + minWidth: null, + maxWidth: null, + depth: null, + sourceOrganization: null }; }; @@ -157,7 +162,16 @@ Vue.set(state.currentSchedule, "url", url); } if (attributes) { - let { insecure, username, password } = attributes; + let { + insecure, + username, + password, + LOS, + minWidth, + maxWidth, + depth, + sourceOrganization + } = attributes; let sortBy = attributes["sort-by"]; const featureType = attributes["feature-type"]; insecure = insecure == "true"; @@ -176,6 +190,25 @@ if (password) { Vue.set(state.currentSchedule, "password", password); } + if (LOS) { + Vue.set(state.currentSchedule, "LOS", LOS); + } + if (minWidth) { + Vue.set(state.currentSchedule, "minWidth", minWidth); + } + if (maxWidth) { + Vue.set(state.currentSchedule, "maxWidth", maxWidth); + } + if (depth) { + Vue.set(state.currentSchedule, "depth", depth); + } + if (sourceOrganization) { + Vue.set( + state.currentSchedule, + "sourceOrganization", + sourceOrganization + ); + } } } },