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

repair code bug

This commit is contained in:
shanshuirenjia
2020-04-11 18:09:39 +08:00
parent 03a88f7f47
commit 488c4c51b6

View File

@@ -643,7 +643,9 @@ class LibContentView extends React.Component {
cancelCopyMoveDirent = () => {
let taskId = this.state.asyncCopyMoveTaskId;
seafileAPI.cancelCopyMoveOperation(taskId);
this.currentMoveItemName = '';
this.currentMoveItemPath = '';
let direntList = this.state.direntList;
this.setState({direntList: direntList.slice(0)});
}