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

reduction

This commit is contained in:
zxj96
2019-05-31 13:27:42 +08:00
parent d26fea7249
commit 16537dbccf

View File

@@ -104,7 +104,7 @@ class CopyDirent extends React.Component {
this.setState({errMessage: message}); this.setState({errMessage: message});
return; return;
} }
// copy the dirent to current path // copy the dirent to current path
if (selectedPath && this.props.path === selectedPath && repo.repo_id === repoID) { if (selectedPath && this.props.path === selectedPath && repo.repo_id === repoID) {
this.setState({errMessage: message}); this.setState({errMessage: message});