From 62c1cb16af81b862f4db449731f2a7568192412d Mon Sep 17 00:00:00 2001 From: Satoshi S <73622805+Satoshi-Sh@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:15:39 -0500 Subject: [PATCH] Moved uploadedFiles.push(blob.name) outside of while loop (#1229) Thanks a lot @Satoshi-Sh --- frontend/taipy-gui/src/workers/fileupload.worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/taipy-gui/src/workers/fileupload.worker.ts b/frontend/taipy-gui/src/workers/fileupload.worker.ts index 6285da6adc..a9d350a2ae 100644 --- a/frontend/taipy-gui/src/workers/fileupload.worker.ts +++ b/frontend/taipy-gui/src/workers/fileupload.worker.ts @@ -82,8 +82,8 @@ const process = (files: FileList, uploadUrl: string, varName: string, id: string start = end; end = start + BYTES_PER_CHUNK; - uploadedFiles.push(blob.name); } + uploadedFiles.push(blob.name); } self.postMessage({ progress: 100,