mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore(modules) delSelected -> DOM.deleteSelected
This commit is contained in:
parent
5cfd640131
commit
e6e0b6d3be
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue