From 59c57cccbaf18445a7c0b24bf355c5e34ed66ea9 Mon Sep 17 00:00:00 2001 From: zxj96 <519213124@qq.com> Date: Wed, 12 Jun 2019 21:18:31 +0800 Subject: [PATCH] Remove extra spaces --- frontend/src/pages/lib-content-view/lib-content-view.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/pages/lib-content-view/lib-content-view.js b/frontend/src/pages/lib-content-view/lib-content-view.js index b7f69d3c47..f3aa106b7e 100644 --- a/frontend/src/pages/lib-content-view/lib-content-view.js +++ b/frontend/src/pages/lib-content-view/lib-content-view.js @@ -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); }