1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 09:51:26 +00:00
This commit is contained in:
Michael An
2019-03-18 18:09:37 +08:00
committed by Daniel Pan
parent 3472f3c5a6
commit 3fb757f83c
2 changed files with 1 additions and 3 deletions

View File

@@ -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() {

View File

@@ -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}