mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
fix-bug (#2771)
This commit is contained in:
@@ -176,15 +176,6 @@ class DirPanel extends React.Component {
|
||||
onTabNavClick={this.props.onTabNavClick}
|
||||
/>
|
||||
</div>
|
||||
{(this.props.usedRepoTags.length > 0 && this.props.path === '/') && (
|
||||
<div className="tags-summary-bar">
|
||||
<FileTagsViewer
|
||||
repoID={this.props.repoID}
|
||||
currentPath={this.props.path}
|
||||
usedRepoTags={this.props.usedRepoTags}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<div className="cur-view-content">
|
||||
{this.props.errorMsg ?
|
||||
<p className="error text-center">{this.props.errorMsg}</p> :
|
||||
@@ -192,6 +183,15 @@ class DirPanel extends React.Component {
|
||||
{!this.props.pathExist ?
|
||||
errMessage :
|
||||
<Fragment>
|
||||
{(this.props.usedRepoTags.length > 0 && this.props.path === '/') && (
|
||||
<div className="tags-summary-bar">
|
||||
<FileTagsViewer
|
||||
repoID={this.props.repoID}
|
||||
currentPath={this.props.path}
|
||||
usedRepoTags={this.props.usedRepoTags}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<DirentListView
|
||||
path={this.props.path}
|
||||
repoID={this.props.repoID}
|
||||
|
@@ -95,7 +95,7 @@
|
||||
}
|
||||
|
||||
.tags-summary-bar {
|
||||
margin: 16px 16px 4px;
|
||||
margin-bottom: 5px;
|
||||
padding: 0 10px;
|
||||
border: 1px solid #e6e6dd;
|
||||
border-radius: 5px;
|
||||
|
Reference in New Issue
Block a user