FIX: Ensure method exists before calling (#15632)
`_perFileData` is not always defined and uploads failed when it is not.
This commit is contained in:
parent
235de5dd90
commit
eb4ad958c1
|
@ -133,9 +133,11 @@ export default Mixin.create(UppyS3Multipart, {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Object.values(files).forEach((file) => {
|
if (this._perFileData) {
|
||||||
deepMerge(file.meta, this._perFileData());
|
Object.values(files).forEach((file) => {
|
||||||
});
|
deepMerge(file.meta, this._perFileData());
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue