production: fixes drag and drop upload bug

This commit is contained in:
@wwwjim 2020-09-12 18:49:58 -07:00
parent 4916843e3b
commit 4b7f16884a

View File

@ -165,8 +165,8 @@ export default class SidebarAddFileToBucket extends React.Component {
if (this.props.fileLoading) {
for (let file of Object.values(this.props.fileLoading)) {
if (typeof file.loaded === "number" && typeof file.total === "number") {
total += curr.total;
loaded += curr.loaded;
total += file.total;
loaded += file.loaded;
}
}
}