1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

Display quantity up

This commit is contained in:
zxj96
2019-04-24 13:52:09 +08:00
parent 870c32113c
commit c7d9eb8ec0
2 changed files with 8 additions and 9 deletions

View File

@@ -1346,6 +1346,10 @@ class LibContentView extends React.Component {
}
let direntItemsList = this.state.direntList.filter((item, index) => {
return index < this.state.itemsShowLength;
})
return (
<div className="main-panel o-hidden">
<div className="main-panel-north border-left-show">
@@ -1433,7 +1437,7 @@ class LibContentView extends React.Component {
readmeMarkdown={this.state.readmeMarkdown}
updateUsedRepoTags={this.updateUsedRepoTags}
isDirentListLoading={this.state.isDirentListLoading}
direntList={this.state.direntList}
direntList={direntItemsList}
showShareBtn={showShareBtn}
sortBy={this.state.sortBy}
sortOrder={this.state.sortOrder}