From 9e60a41f0abec5978daef01707597806f92bcd9e Mon Sep 17 00:00:00 2001 From: John Costa Date: Sun, 5 Oct 2025 15:59:14 +0100 Subject: [PATCH] fix: processing images indicator --- frontend/src/contexts/Notifications.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/contexts/Notifications.tsx b/frontend/src/contexts/Notifications.tsx index b07a0df..c2e5cf6 100644 --- a/frontend/src/contexts/Notifications.tsx +++ b/frontend/src/contexts/Notifications.tsx @@ -39,8 +39,6 @@ export const Notifications = (onCompleteImage: () => void) => { const [accessToken] = createResource(getAccessToken); const dataEventListener = (e: MessageEvent) => { - debugger; - if (typeof e.data !== "string") { console.error("Error type is not string"); return; @@ -100,7 +98,7 @@ export const Notifications = (onCompleteImage: () => void) => { upsertImageProcessing( Object.fromEntries( - images.filter(i => i.Status === 'complete').map((i) => [ + images.filter(i => i.Status !== 'complete').map((i) => [ i.ID, { Type: "image",