comparison client/src/store/imports.js @ 1867:954a099425df

import: fairwaydimensions correct attribute names
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 17 Jan 2019 16:07:49 +0100
parents 3bf2e5a91e50
children b6d0460b069d
comparison
equal deleted inserted replaced
1866:ee5ab1f83506 1867:954a099425df
163 } 163 }
164 if (url) { 164 if (url) {
165 Vue.set(state.currentSchedule, "url", url); 165 Vue.set(state.currentSchedule, "url", url);
166 } 166 }
167 if (attributes) { 167 if (attributes) {
168 let { 168 let { insecure, username, password, los, depth } = attributes;
169 insecure,
170 username,
171 password,
172 LOS,
173 minWidth,
174 maxWidth,
175 depth,
176 sourceOrganization
177 } = attributes;
178 let sortBy = attributes["sort-by"]; 169 let sortBy = attributes["sort-by"];
170 let minWidth = attributes["min-width"];
171 let maxWidth = attributes["max-width"];
172 let sourceOrganization = attributes["source-organization"];
179 const featureType = attributes["feature-type"]; 173 const featureType = attributes["feature-type"];
180 insecure = insecure == "true"; 174 insecure = insecure == "true";
181 if (insecure) { 175 if (insecure) {
182 Vue.set(state.currentSchedule, "insecure", insecure); 176 Vue.set(state.currentSchedule, "insecure", insecure);
183 } 177 }
191 Vue.set(state.currentSchedule, "username", username); 185 Vue.set(state.currentSchedule, "username", username);
192 } 186 }
193 if (password) { 187 if (password) {
194 Vue.set(state.currentSchedule, "password", password); 188 Vue.set(state.currentSchedule, "password", password);
195 } 189 }
196 if (LOS) { 190 if (los) {
197 Vue.set(state.currentSchedule, "LOS", LOS); 191 Vue.set(state.currentSchedule, "LOS", los);
198 } 192 }
199 if (minWidth) { 193 if (minWidth) {
200 Vue.set(state.currentSchedule, "minWidth", minWidth); 194 Vue.set(state.currentSchedule, "minWidth", minWidth);
201 } 195 }
202 if (maxWidth) { 196 if (maxWidth) {