1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

Remove extra spaces

This commit is contained in:
zxj96 2019-06-12 21:18:31 +08:00
parent e3738aa7b6
commit 59c57cccba

View File

@ -596,7 +596,6 @@ class LibContentView extends React.Component {
this.updateMoveCopyTreeNode(destDirentPath);
}
}
if (destDirentPath === this.state.path) {
this.loadDirentList(this.state.path);
}
@ -897,11 +896,9 @@ class LibContentView extends React.Component {
seafileAPI.copyDir(repoID, destRepo.repo_id, copyToDirentPath, nodeParentPath, dirName).then(res => {
if (this.state.currentMode === 'column') {
if (repoID === destRepo.repo_id) {
this.updateMoveCopyTreeNode(copyToDirentPath);
}
}
if (copyToDirentPath === nodeParentPath) {
this.loadDirentList(this.state.path);
}