mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-21 03:09:50 +03:00
production: fixes drag and drop upload bug
This commit is contained in:
parent
4916843e3b
commit
4b7f16884a
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user