From 6b3e2899f0fc1ab8d2df6dd57f0b1d66d6f9927a Mon Sep 17 00:00:00 2001 From: glax Date: Sun, 27 Oct 2024 03:01:05 +0100 Subject: [PATCH] Include UpdateMetaData in queue popup --- Website/modules/QueuePopUp.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Website/modules/QueuePopUp.tsx b/Website/modules/QueuePopUp.tsx index 864fc83..f9e4b57 100644 --- a/Website/modules/QueuePopUp.tsx +++ b/Website/modules/QueuePopUp.tsx @@ -43,7 +43,7 @@ export default function QueuePopUp({connectedToBackend, children, apiUri} : {con .then((jobs:IJob[]) => { //console.debug("Removing Metadata Jobs"); //console.log(StandbyJobs) - setStandbyJobs(jobs.filter(job => job.jobType <= 1)); + setStandbyJobs(jobs.filter(job => job.jobType <= 2)); //console.log(StandbyJobs) }); Job.GetRunningJobs(apiUri) @@ -54,7 +54,7 @@ export default function QueuePopUp({connectedToBackend, children, apiUri} : {con }) .then((jobs:IJob[]) =>{ //console.debug("Removing Metadata Jobs"); - setRunningJobs(jobs.filter(job => job.jobType <= 1)); + setRunningJobs(jobs.filter(job => job.jobType <= 2)); }); }