mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add reset pagination (#3239)
This commit is contained in:
@@ -104,6 +104,11 @@ export class InfinitePaginationComponent implements OnInit, OnDestroy, Paginatio
|
||||
}
|
||||
}
|
||||
|
||||
reset() {
|
||||
this.pagination.skipCount = 0;
|
||||
this.target.updatePagination(this.pagination);
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
if (this.paginationSubscription) {
|
||||
this.paginationSubscription.unsubscribe();
|
||||
|
Reference in New Issue
Block a user