mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 22:13:02 +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,
|
elementsPerPage: this.config.pageSize,
|
||||||
sort: this.sortConfig
|
sort: this.sortConfig
|
||||||
});
|
});
|
||||||
this.itemData.pageInfo.subscribe((pageInfo) => {
|
this.subs.push(this.itemData.pageInfo.subscribe((pageInfo) => {
|
||||||
if (isUndefined(this.pageInfoState) || this.pageInfoState !== pageInfo) {
|
if (isUndefined(this.pageInfoState) || this.pageInfoState !== pageInfo) {
|
||||||
this.pageInfoState = pageInfo;
|
this.pageInfoState = pageInfo;
|
||||||
this.ref.detectChanges();
|
this.ref.detectChanges();
|
||||||
}
|
}
|
||||||
});
|
}));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user