bug fix in scheduling task checks
@@ -107,6 +107,7 @@ $(document).ready(function () {
for (let i = 0; i < tasks.length; i++) {
vue.registerTask(tasks[i]);
}
+ vue.scheduleCheck();
},
error: function (response) {
console.log(response);
@@ -273,15 +274,6 @@ $(document).ready(function () {
default:
break;
}
-
- switch (task.status) {
- case "Pending execution":
- vue.scheduleCheck();
- break;
- case "In progress":
- vue.scheduleCheck();
- break;
- }
},
registerTask: function (task) {
let vue = this;
