From a380cebb459db0527f954f6c73282e9eff51334c Mon Sep 17 00:00:00 2001 From: Abhinav-grd Date: Fri, 23 Apr 2021 15:29:56 +0530 Subject: [PATCH] add missing clearSelection Call to fileDelete function --- src/utils/file/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/file/index.ts b/src/utils/file/index.ts index 9f37e45e5..b9344febc 100644 --- a/src/utils/file/index.ts +++ b/src/utils/file/index.ts @@ -45,6 +45,7 @@ export function sortFilesIntoCollections(files: file[]) { export async function fileDelete(selected, clearSelection, syncWithRemote) { await deleteFiles(selected); + clearSelection(); syncWithRemote(); clearSelection; }