1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 07:22:34 +00:00
This commit is contained in:
Michael An
2019-01-05 18:12:33 +08:00
committed by Daniel Pan
parent 77e557820e
commit b5cc1ef09e
2 changed files with 10 additions and 10 deletions

View File

@@ -176,6 +176,13 @@ class DirPanel extends React.Component {
onTabNavClick={this.props.onTabNavClick}
/>
</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 === '/') && (
<div className="tags-summary-bar">
<FileTagsViewer
@@ -185,13 +192,6 @@ class DirPanel extends React.Component {
/>
</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
path={this.props.path}
repoID={this.props.repoID}

View File

@@ -95,7 +95,7 @@
}
.tags-summary-bar {
margin: 16px 16px 4px;
margin-bottom: 5px;
padding: 0 10px;
border: 1px solid #e6e6dd;
border-radius: 5px;