diff --git a/client/modules/operation/index.js b/client/modules/operation/index.js index 9fe91bbf..0d0d1eb3 100644 --- a/client/modules/operation/index.js +++ b/client/modules/operation/index.js @@ -380,12 +380,11 @@ function OperationProto(operation, data) { deleteFn(path + query, names, (error) => { const Storage = DOM.Storage; const dirPath = Info.dirPath; - const delSelected = DOM.deleteSelected; if (error) return CloudCmd.refresh(); - delSelected(files); + DOM.deleteSelected(files); Storage.removeMatch(dirPath); }); }