1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 23:00:57 +00:00

[fix]file-tag-wiki (#2782)

This commit is contained in:
Michael An
2019-01-07 17:00:09 +08:00
committed by Daniel Pan
parent be12929dad
commit 1c8af22b02
2 changed files with 9 additions and 14 deletions

View File

@@ -235,15 +235,6 @@ class MainPanel extends Component {
/>
)}
</div>
{(this.props.usedRepoTags.length > 0 && this.props.path === '/') && (
<div className="tags-summary-bar">
<FileTagsViewer
repoID={repoID}
currentPath={this.props.path}
usedRepoTags={this.props.usedRepoTags}
/>
</div>
)}
<div className="cur-view-content" onScroll={this.handlePageScroll} ref="curViewContent">
{!this.props.pathExist ?
ErrMessage :
@@ -265,6 +256,15 @@ class MainPanel extends Component {
goReviewPage={this.props.goReviewPage}
/> :
<Fragment>
{(this.props.usedRepoTags.length > 0 && this.props.path === '/') && (
<div className="tags-summary-bar">
<FileTagsViewer
repoID={repoID}
currentPath={this.props.path}
usedRepoTags={this.props.usedRepoTags}
/>
</div>
)}
<DirentListView
path={this.props.path}
repoID={repoID}