[Trunk | Library]: dataProvider.component (Landing): call 'getDataProviderAggregationStatus()' method (info from datasources API) only in browser (not server).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56140 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
d76b8bf68f
commit
0cbc84677b
|
@ -174,8 +174,9 @@ export class DataProviderComponent {
|
|||
data => {
|
||||
this.dataProviderInfo = data;
|
||||
this.seoService.createLinkForCanonicalURL(this.properties.baseLink+this._router.url);
|
||||
this.getDataProviderAggregationStatus(this.dataProviderInfo.originalId);
|
||||
|
||||
if (typeof document !== 'undefined') {
|
||||
this.getDataProviderAggregationStatus(this.dataProviderInfo.originalId);
|
||||
}
|
||||
this.initTabs();
|
||||
this.showTabs = true ;
|
||||
this.updateTitle(this.dataProviderInfo.title.name);
|
||||
|
|
Loading…
Reference in New Issue