diff client/src/store/importschedule.js @ 2998:adc8e9ccf706

imports: add tries and wait-retry to client
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 10 Apr 2019 16:04:40 +0200
parents 8f266dc8b4e3
children c373758ca2df
line wrap: on
line diff
--- a/client/src/store/importschedule.js	Wed Apr 10 15:22:35 2019 +0200
+++ b/client/src/store/importschedule.js	Wed Apr 10 16:04:40 2019 +0200
@@ -86,7 +86,9 @@
     minWidth: null,
     maxWidth: null,
     depth: null,
-    sourceOrganization: null
+    sourceOrganization: null,
+    trys: null,
+    waitRetry: null
   };
 };
 
@@ -141,7 +143,8 @@
       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");