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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user