Fixed duplicated polling timers

This commit is contained in:
Joel Collins 2020-11-06 10:32:47 +00:00
parent ac382b7fab
commit fcd9fa4990

View file

@ -94,7 +94,6 @@ export default {
return {
taskId: null,
taskUrl: null,
polling: null,
progress: null,
taskStarted: false,
taskRunning: false
@ -182,6 +181,7 @@ export default {
},
startPolling: function(taskId, taskUrl) {
if (this.taskRunning != true) {
// Starts polling an existing Action task
this.taskId = taskId;
this.taskUrl = taskUrl;
@ -214,6 +214,7 @@ export default {
this.getFormData();
}
});
}
},
pollTask: function(taskId, interval) {