Include UpdateMetaData in queue popup

This commit is contained in:
glax 2024-10-27 03:01:05 +01:00
parent 251ec0a978
commit 6b3e2899f0

View File

@ -43,7 +43,7 @@ export default function QueuePopUp({connectedToBackend, children, apiUri} : {con
.then((jobs:IJob[]) => { .then((jobs:IJob[]) => {
//console.debug("Removing Metadata Jobs"); //console.debug("Removing Metadata Jobs");
//console.log(StandbyJobs) //console.log(StandbyJobs)
setStandbyJobs(jobs.filter(job => job.jobType <= 1)); setStandbyJobs(jobs.filter(job => job.jobType <= 2));
//console.log(StandbyJobs) //console.log(StandbyJobs)
}); });
Job.GetRunningJobs(apiUri) Job.GetRunningJobs(apiUri)
@ -54,7 +54,7 @@ export default function QueuePopUp({connectedToBackend, children, apiUri} : {con
}) })
.then((jobs:IJob[]) =>{ .then((jobs:IJob[]) =>{
//console.debug("Removing Metadata Jobs"); //console.debug("Removing Metadata Jobs");
setRunningJobs(jobs.filter(job => job.jobType <= 1)); setRunningJobs(jobs.filter(job => job.jobType <= 2));
}); });
} }