show progress count as sum of success and failed

This commit is contained in:
Abhinav 2023-08-20 14:31:51 +05:30
parent c1a9362801
commit b13201034d

View file

@ -97,7 +97,9 @@ export const CollectionDownloadProgress: React.FC<CollectionDownloadProgressProp
: t(`DOWNLOADING`), : t(`DOWNLOADING`),
caption: downloadCompleted caption: downloadCompleted
? attributes.collectionName ? attributes.collectionName
: `${attributes.success} / ${attributes.total} items`, : `${attributes.success + attributes.failed} / ${
attributes.total
} items`,
onClick: handleOnClick, onClick: handleOnClick,
}} }}
/> />