calculate empty files and folders
This commit is contained in:
parent
2f3247874d
commit
5dc66cb3d5
@ -51,7 +51,7 @@ export const useUploadStore = defineStore("upload", () => {
|
|||||||
file,
|
file,
|
||||||
overwrite,
|
overwrite,
|
||||||
type,
|
type,
|
||||||
totalBytes: file?.size ?? 0,
|
totalBytes: file?.size || 1,
|
||||||
sentBytes: 0,
|
sentBytes: 0,
|
||||||
// Stores rapidly changing sent bytes value without causing component re-renders
|
// Stores rapidly changing sent bytes value without causing component re-renders
|
||||||
rawProgress: markRaw({
|
rawProgress: markRaw({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user