fix: processing images indicator

This commit is contained in:
2025-10-05 15:59:14 +01:00
parent eaff553dc9
commit 9e60a41f0a

View File

@ -39,8 +39,6 @@ export const Notifications = (onCompleteImage: () => void) => {
const [accessToken] = createResource(getAccessToken); const [accessToken] = createResource(getAccessToken);
const dataEventListener = (e: MessageEvent<unknown>) => { const dataEventListener = (e: MessageEvent<unknown>) => {
debugger;
if (typeof e.data !== "string") { if (typeof e.data !== "string") {
console.error("Error type is not string"); console.error("Error type is not string");
return; return;
@ -100,7 +98,7 @@ export const Notifications = (onCompleteImage: () => void) => {
upsertImageProcessing( upsertImageProcessing(
Object.fromEntries( Object.fromEntries(
images.filter(i => i.Status === 'complete').map((i) => [ images.filter(i => i.Status !== 'complete').map((i) => [
i.ID, i.ID,
{ {
Type: "image", Type: "image",