From be302b77d44783265c1f5290324ce125ddbede69 Mon Sep 17 00:00:00 2001 From: John Costa Date: Wed, 2 Jul 2025 14:26:33 +0100 Subject: [PATCH] fix: title --- frontend/src/notifications/ProcessingImages.tsx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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"} +

+
+ } >