Mercurial > gemma
diff client/src/store/importschedule.js @ 2312:b87211f595ae
import-schedule: fix edit waterway gauge import. transmitting cedentials correctly
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 18 Feb 2019 15:55:55 +0100 |
parents | 716c0eba89a2 |
children | a5b87a695469 |
line wrap: on
line diff
--- a/client/src/store/importschedule.js Mon Feb 18 15:42:13 2019 +0100 +++ b/client/src/store/importschedule.js Mon Feb 18 15:55:55 2019 +0100 @@ -130,7 +130,7 @@ if (url) { Vue.set(state.currentSchedule, "url", url); } - let { insecure, username, password, los, depth } = config; + let { insecure, user, password, los, depth } = config; let sortBy = config["sort-by"]; let minWidth = config["min-width"]; let maxWidth = config["max-width"]; @@ -146,8 +146,8 @@ if (sortBy) { Vue.set(state.currentSchedule, "sortBy", sortBy); } - if (username) { - Vue.set(state.currentSchedule, "username", username); + if (user) { + Vue.set(state.currentSchedule, "username", user); } if (password) { Vue.set(state.currentSchedule, "password", password);