Fix bug
This commit is contained in:
parent
caa8aee7a0
commit
9f81288fcc
48 changed files with 91 additions and 140 deletions
|
|
@ -72,8 +72,7 @@ export default (
|
|||
.find({ user_id: user._id }, {
|
||||
datasize: true,
|
||||
_id: false
|
||||
})
|
||||
.toArray();
|
||||
});
|
||||
|
||||
// Calculate drive usage (in byte)
|
||||
const usage = files.map(file => file.datasize).reduce((x, y) => x + y, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue