fix: inclure 'uploading' dans le compteur processing de GlobalActions
This commit is contained in:
@@ -10,7 +10,7 @@ export function GlobalActions({ items, onUploadAll }: GlobalActionsProps) {
|
|||||||
if (items.length === 0) return null
|
if (items.length === 0) return null
|
||||||
|
|
||||||
const ready = items.filter((i) => i.status === 'ready').length
|
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 notFound = items.filter((i) => i.status === 'not_found').length
|
||||||
const uploaded = items.filter((i) => i.status === 'uploaded').length
|
const uploaded = items.filter((i) => i.status === 'uploaded').length
|
||||||
const errors = items.filter((i) => i.status === 'error').length
|
const errors = items.filter((i) => i.status === 'error').length
|
||||||
|
|||||||
Reference in New Issue
Block a user