progressbar for checkedFile transfert

This commit is contained in:
GMrrc 2024-12-11 16:09:08 +01:00
parent 8aea56cf3b
commit dc6b2e7213

View File

@ -443,6 +443,7 @@ export default {
}, },
async moveListOfFiles(files) { async moveListOfFiles(files) {
for (const file of files.children) { for (const file of files.children) {
this.transferProgress += 100 / files.children.length;
if (file.isDirectory) { if (file.isDirectory) {
//just create the folder //just create the folder
await this.createFolder(file, file.parentPath + '/'); await this.createFolder(file, file.parentPath + '/');