diff --git a/frontend/src/notifications/ProcessingImages.tsx b/frontend/src/notifications/ProcessingImages.tsx index 20cbfdf..6f90bc8 100644 --- a/frontend/src/notifications/ProcessingImages.tsx +++ b/frontend/src/notifications/ProcessingImages.tsx @@ -52,12 +52,23 @@ const LoadingCircle: Component<{ export const ProcessingImages: Component = () => { const notifications = useNotifications(); + const processingNumber = () => + Object.keys(notifications.state.ProcessingImages).length; + return ( -

Processing Images

0} + fallback={

No images to process

} + > +

+ Processing {processingNumber()}{" "} + {processingNumber() === 1 ? "image" : "images"} +

+
+ } >