1. Bug fix in paging components (limit was not initialized).

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52106 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2018-05-18 16:08:30 +00:00
parent f9aba210a1
commit 91a19a0fcd
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ export class PagingFormatter {
this.route.data this.route.data
.subscribe((data: { envSpecific: EnvProperties }) => { .subscribe((data: { envSpecific: EnvProperties }) => {
this.properties = data.envSpecific; this.properties = data.envSpecific;
this.limit = this.properties.pagingLimit;
} }
); );
} }

View File

@ -54,6 +54,7 @@ export class pagingFormatterNoLoad {
this.route.data this.route.data
.subscribe((data: { envSpecific: EnvProperties }) => { .subscribe((data: { envSpecific: EnvProperties }) => {
this.properties = data.envSpecific; this.properties = data.envSpecific;
this.limit = this.properties.pagingLimit;
} }
); );
} }