Merge pull request #11160 from jwangyangls/repo-pagination

[fix] fix repo pagination
This commit is contained in:
jwangyangls 2020-03-20 19:46:02 +08:00 committed by GitHub
commit 61d7eaa405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,8 +72,7 @@ export class RepositoryGridviewComponent implements OnChanges, OnInit, OnDestroy
cardHover = false; cardHover = false;
listHover = false; listHover = false;
// pageSize: number = DEFAULT_PAGE_SIZE; pageSize: number = DEFAULT_PAGE_SIZE;
pageSize: number = 3;
currentPage = 1; currentPage = 1;
totalCount = 0; totalCount = 0;
currentState: ClrDatagridStateInterface; currentState: ClrDatagridStateInterface;