1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

repair goto repo bug

This commit is contained in:
shanshuirenjia
2018-12-11 17:52:19 +08:00
parent 8efd8a45be
commit f1eb4c625f
7 changed files with 62 additions and 25 deletions

View File

@@ -5,6 +5,7 @@ import DirTool from './dir-tool';
const propTypes = {
repoID: PropTypes.string.isRequired,
pathPrefix: PropTypes.object.isRequired,
repoName: PropTypes.string.isRequired,
permission: PropTypes.bool.isRequired,
currentPath: PropTypes.string.isRequired,
@@ -18,6 +19,7 @@ class CurDirPath extends React.Component {
<Fragment>
<DirPath
repoName={this.props.repoName}
pathPrefix={this.props.pathPrefix}
currentPath={this.props.currentPath}
onPathClick={this.props.onPathClick}
/>