Skip to content

Commit

Permalink
Moved uploadedFiles.push(blob.name) outside of while loop (Avaiga#1229)
Browse files Browse the repository at this point in the history
Thanks a lot @Satoshi-Sh
  • Loading branch information
Satoshi-Sh authored Apr 30, 2024
1 parent 5041ab1 commit 62c1cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/taipy-gui/src/workers/fileupload.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 62c1cb1

Please sign in to comment.