Skip to content

Commit

Permalink
fixing proper image count
Browse files Browse the repository at this point in the history
  • Loading branch information
jue-henry committed Dec 17, 2024
1 parent f7e38ee commit 8d6da73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/features/images/DeleteImagesAlert.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@ const DeleteImagesAlert = () => {
{isSpinnerActive && (
<SpinnerOverlay>
<SimpleSpinner />
<DeleteImagesProgressBar imageCount={imageCount} />
<DeleteImagesProgressBar
imageCount={
!alertState.deleteImagesAlertByFilter ? selectedImages.length : imageCount
}
/>
</SpinnerOverlay>
)}
<AlertTitle>{title}</AlertTitle>
Expand Down

0 comments on commit 8d6da73

Please sign in to comment.