diff --git a/client/modules/operation/index.js b/client/modules/operation/index.js index 4db35fc0..5e614530 100644 --- a/client/modules/operation/index.js +++ b/client/modules/operation/index.js @@ -260,14 +260,11 @@ function OperationProto(operation, data) { const names = DOM.getFilenames(files); - deleteFn(path + query, names, (error) => { + deleteFn(path + query, names, () => { const Storage = DOM.Storage; const dirPath = Info.dirPath; - if (error) - return CloudCmd.refresh(); - - DOM.deleteSelected(files); + CloudCmd.refresh(); Storage.removeMatch(dirPath); }); }