fix: refresh selection after deleting by batch
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ export const handleBatchRequest = async (
|
||||
list: any[],
|
||||
fn: (args: any) => void
|
||||
) => {
|
||||
return Promise.all(list.map((item) => fn(item)));
|
||||
return Promise.allSettled(list.map((item) => fn(item)));
|
||||
};
|
||||
|
||||
export const convertFileSize = (
|
||||
|
||||
Reference in New Issue
Block a user