mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
fix-bug (#3129)
This commit is contained in:
@@ -306,7 +306,7 @@ class MutipleDirOperationToolbar extends React.Component {
|
||||
}
|
||||
|
||||
getDirentPath = (dirent) => {
|
||||
if (dirent) return Utils.joinPath(this.state.path, dirent.name);
|
||||
if (dirent) return Utils.joinPath(this.props.path, dirent.name);
|
||||
}
|
||||
|
||||
render() {
|
||||
|
@@ -47,7 +47,6 @@ const propTypes = {
|
||||
// selected menu
|
||||
onDirentSelected: PropTypes.func.isRequired,
|
||||
showDirentDetail: PropTypes.func.isRequired,
|
||||
listRelatedFiles: PropTypes.func.isRequired,
|
||||
onFilesTagChanged: PropTypes.func.isRequired,
|
||||
updateDirent: PropTypes.func.isRequired,
|
||||
};
|
||||
@@ -103,7 +102,6 @@ class LibContentToolbar extends React.Component {
|
||||
updateDirent={this.props.updateDirent}
|
||||
onDirentSelected={this.props.onDirentSelected}
|
||||
showDirentDetail={this.props.showDirentDetail}
|
||||
listRelatedFiles={this.props.listRelatedFiles}
|
||||
relatedFiles={this.props.relatedFiles}
|
||||
unSelectDirent={this.props.unSelectDirent}
|
||||
onFilesTagChanged={this.props.onFilesTagChanged}
|
||||
|
Reference in New Issue
Block a user