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