[Library | Trunk]: Numbers: Add init function. Create numberSize interface
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60897 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
3d896b8c9e
commit
be73ba0510
|
@ -140,7 +140,6 @@ export class NumbersComponent implements OnInit, OnDestroy {
|
|||
(getProjects)?this.refineFieldResultsService.getRefineFieldsResultsByEntityName(['funder'], 'project', this.properties, this.refineQuery):this.empty,
|
||||
(getDataProviders)?this.searchDataprovidersService.numOfSearchDataproviders('', this.properties, this.refineQuery):this.empty
|
||||
).subscribe((data: any[]) => {
|
||||
console.log(data)
|
||||
if (data[0] && data[0] > 0) {
|
||||
this.numbers.publicationsSize = NumberUtils.roundNumber(data[0]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue