Fix #13
This commit is contained in:
parent
93bd7afa3f
commit
8983a8d5ea
@ -1,4 +1,5 @@
|
||||
let runningJobs = [];
|
||||
let monitoringJobsCount = 0;
|
||||
let runningJobs = [];
|
||||
let waitingJobs = [];
|
||||
let notificationConnectorTypes = [];
|
||||
let libraryConnectorTypes = [];
|
||||
@ -356,6 +357,7 @@ function utf8_to_b64(str) {
|
||||
|
||||
function UpdateJobs(){
|
||||
GetMonitorJobs().then((json) => {
|
||||
if(monitoringJobsCount != json.length){
|
||||
ResetContent();
|
||||
//console.log(json);
|
||||
json.forEach(job => {
|
||||
@ -365,6 +367,8 @@ function UpdateJobs(){
|
||||
});
|
||||
tasksContent.appendChild(mangaView);
|
||||
});
|
||||
monitoringJobsCount = json.length;
|
||||
}
|
||||
});
|
||||
|
||||
GetWaitingJobs().then((json) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user