1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

repair code bug

This commit is contained in:
shanshuirenjia
2020-04-11 18:03:45 +08:00
parent 1f1b58f1db
commit 03a88f7f47

View File

@@ -641,8 +641,10 @@ class LibContentView extends React.Component {
}
cancelCopyMoveDirent = () => {
let { taskId, direntList } = this.state.asyncCopyMoveTaskId;
let taskId = this.state.asyncCopyMoveTaskId;
seafileAPI.cancelCopyMoveOperation(taskId);
let direntList = this.state.direntList;
this.setState({direntList: direntList.slice(0)});
}