mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
change collection-page.component
This commit is contained in:
@@ -99,12 +99,12 @@ export class CollectionPageComponent implements OnChanges, OnInit, OnDestroy {
|
||||
elementsPerPage: this.config.pageSize,
|
||||
sort: this.sortConfig
|
||||
});
|
||||
this.itemData.pageInfo.subscribe((pageInfo) => {
|
||||
this.subs.push(this.itemData.pageInfo.subscribe((pageInfo) => {
|
||||
if (isUndefined(this.pageInfoState) || this.pageInfoState !== pageInfo) {
|
||||
this.pageInfoState = pageInfo;
|
||||
this.ref.detectChanges();
|
||||
}
|
||||
});
|
||||
}));
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user