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:
@@ -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)});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user