mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
quick patch to fix issue with updates
This commit is contained in:
parent
47568c6c8f
commit
f4697850c6
|
@ -320,7 +320,7 @@ export default class Files {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file.sizeInBytes) file_updates.sizeInBytes = atSIB.reduce((a,b) => a+b);
|
if (!file.sizeInBytes) file_updates.sizeInBytes = atSIB.reduce((a,b) => a+b, 0);
|
||||||
if (!file.chunkSize) file_updates.chunkSize = atSIB[0]
|
if (!file.chunkSize) file_updates.chunkSize = atSIB[0]
|
||||||
if (Object.keys(file_updates).length) { // if file_updates not empty
|
if (Object.keys(file_updates).length) { // if file_updates not empty
|
||||||
// i gotta do these weird workarounds, ts is weird sometimes
|
// i gotta do these weird workarounds, ts is weird sometimes
|
||||||
|
|
Loading…
Reference in a new issue