mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
modify move dialog
This commit is contained in:
@@ -96,7 +96,8 @@ class MoveDirent extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
moveItem = () => {
|
moveItem = () => {
|
||||||
let { repo, repoID, selectedPath } = this.state;
|
let { repoID } = this.props;
|
||||||
|
let { repo, selectedPath } = this.state;
|
||||||
let direntPath = Utils.joinPath(this.props.path, this.props.dirent.name);
|
let direntPath = Utils.joinPath(this.props.path, this.props.dirent.name);
|
||||||
let message = gettext('Invalid destination path');
|
let message = gettext('Invalid destination path');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user