Skip to content
Snippets Groups Projects
Commit 1b9d50e6 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Create proper File object (VPU/Apps/Signature#11)

parent 63565937
No related branches found
No related tags found
No related merge requests found
...@@ -253,8 +253,7 @@ export class FileUpload extends ScopedElementsMixin(VPULitElement) { ...@@ -253,8 +253,7 @@ export class FileUpload extends ScopedElementsMixin(VPULitElement) {
await zipEntry.async("blob") await zipEntry.async("blob")
.then((blob) => { .then((blob) => {
blob.name = zipEntry.name; filesToHandle.push(new File([blob], zipEntry.name));
filesToHandle.push(blob);
}, (e) => { }, (e) => {
// handle the error // handle the error
console.error("Decompressing of file in " + file.name + " failed:" + e.message); console.error("Decompressing of file in " + file.name + " failed:" + e.message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment