From 377976b8b272bf735239b4199fdafbd2c485339e Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Fri, 29 Mar 2024 00:42:27 +0100 Subject: [PATCH] fix: jiji forgot to add the progress bar on pre process --- app/components/general-layout.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app/components/general-layout.tsx b/app/components/general-layout.tsx index d615027..2132597 100644 --- a/app/components/general-layout.tsx +++ b/app/components/general-layout.tsx @@ -350,11 +350,17 @@ const UploadFileItem = ({ ) : null} - {file.progress?.preprocess ? ( -

Processing...

+ {file.progress?.preprocess || true ? ( +
+

{file.progress?.preprocess?.value ?? "Processing..."}

+ +
) : null} {file.progress?.uploadStarted && !file.progress.uploadComplete ? ( - +
+

Uploading...

+ +
) : null} );