From 54c8aaa15f62f441f24ccc1f40b40e3b90968eab Mon Sep 17 00:00:00 2001 From: Rushikesh Tote Date: Mon, 11 Apr 2022 09:30:31 +0530 Subject: [PATCH] updating remaining files on any not null result --- src/services/upload/uploadManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/upload/uploadManager.ts b/src/services/upload/uploadManager.ts index c727e4bdc..e58003114 100644 --- a/src/services/upload/uploadManager.ts +++ b/src/services/upload/uploadManager.ts @@ -334,7 +334,7 @@ class UploadManager { this.failedFiles.push(fileWithCollection); } - if (fileUploadResult && isElectron()) { + if (fileUploadResult !== null && isElectron()) { this.remainingFiles = this.remainingFiles.filter( (file) => !areSameElectronFiles(file, fileWithCollection) );