From 9789dc24e1ef2a53f42acf8b0b53cd5857b3ea0f Mon Sep 17 00:00:00 2001 From: lethemanh Date: Wed, 2 Apr 2025 11:11:58 +0700 Subject: [PATCH] Fix bug reupload cancelled folder --- .../src/app/features/files/services/file-upload-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrive/frontend/src/app/features/files/services/file-upload-service.ts b/tdrive/frontend/src/app/features/files/services/file-upload-service.ts index 6d5f3b93..f27db15e 100644 --- a/tdrive/frontend/src/app/features/files/services/file-upload-service.ts +++ b/tdrive/frontend/src/app/features/files/services/file-upload-service.ts @@ -304,7 +304,7 @@ class FileUploadService { // Reset existing uploads for (const rootKey of rootKeys) { - if (rootKey in this.groupIds) { + if (rootKey in this.groupIds || rootKey in this.rootStates.cancelled) { this.resetStates([rootKey]); } else { // remove from completed states