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