mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
redirect client's view lib url to library content pages's url
This commit is contained in:
@@ -86,7 +86,7 @@ class DirPath extends React.Component {
|
||||
<span className="path-split">/</span>
|
||||
</Fragment>
|
||||
)}
|
||||
{currentPath === '/' ?
|
||||
{(currentPath === '/' || currentPath === '') ?
|
||||
<span>{repoName}</span>:
|
||||
<a className="path-link" data-path="/" onClick={this.onPathClick}>{repoName}</a>
|
||||
}
|
||||
|
Reference in New Issue
Block a user