calculate empty files and folders

This commit is contained in:
Ramires Viana 2025-08-05 18:17:43 -03:00
parent 2f3247874d
commit 5dc66cb3d5

View File

@ -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({