Fix bug reupload cancelled folder

This commit is contained in:
lethemanh
2025-04-02 11:11:58 +07:00
committed by Anton Shepilov
parent 0d07312ca4
commit 9789dc24e1
@@ -304,7 +304,7 @@ class FileUploadService {
// Reset existing uploads // Reset existing uploads
for (const rootKey of rootKeys) { for (const rootKey of rootKeys) {
if (rootKey in this.groupIds) { if (rootKey in this.groupIds || rootKey in this.rootStates.cancelled) {
this.resetStates([rootKey]); this.resetStates([rootKey]);
} else { } else {
// remove from completed states // remove from completed states