Mercurial > gemma
diff client/src/store/importschedule.js @ 3777:c373758ca2df
client: Improved import retry ui.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 04 Jul 2019 16:16:44 +0200 |
parents | adc8e9ccf706 |
children | b55120fa8913 |
line wrap: on
line diff
--- a/client/src/store/importschedule.js Tue Jul 02 16:44:04 2019 +0200 +++ b/client/src/store/importschedule.js Thu Jul 04 16:16:44 2019 +0200 @@ -140,11 +140,11 @@ const { cron, url } = config; Vue.set(state.currentSchedule, "importType", KINDIMPORTTYPE[kind]); Vue.set(state.currentSchedule, "id", id); + Vue.set(state.currentSchedule, "trys", config["trys"]); + Vue.set(state.currentSchedule, "waitRetry", config["wait-retry"]); if (cron) { Vue.set(state.currentSchedule, "scheduled", true); Vue.set(state.currentSchedule, "cronString", cron); - Vue.set(state.currentSchedule, "trys", config["trys"]); - Vue.set(state.currentSchedule, "waitRetry", config["wait-retry"]); // simple weekly or monthly? if (cron === "0 0 0 * * 0") { Vue.set(state.currentSchedule, "simple", "weekly");