From fe9c3b9ccbdb4990752a29e3fd0fadcabcc7b48d Mon Sep 17 00:00:00 2001 From: Mathieu Date: Mon, 8 Jun 2026 19:18:40 +0200 Subject: [PATCH] fix: inclure 'uploading' dans le compteur processing de GlobalActions --- src/components/images/GlobalActions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/images/GlobalActions.tsx b/src/components/images/GlobalActions.tsx index 349e535..24013b0 100644 --- a/src/components/images/GlobalActions.tsx +++ b/src/components/images/GlobalActions.tsx @@ -10,7 +10,7 @@ export function GlobalActions({ items, onUploadAll }: GlobalActionsProps) { if (items.length === 0) return null const ready = items.filter((i) => i.status === 'ready').length - const processing = items.filter((i) => ['pending', 'converting', 'processing', 'searching'].includes(i.status)).length + const processing = items.filter((i) => ['pending', 'converting', 'processing', 'searching', 'uploading'].includes(i.status)).length const notFound = items.filter((i) => i.status === 'not_found').length const uploaded = items.filter((i) => i.status === 'uploaded').length const errors = items.filter((i) => i.status === 'error').length