diff --git a/connect/affiliations/affiliations.component.ts b/connect/affiliations/affiliations.component.ts index f786fe86..395f052a 100644 --- a/connect/affiliations/affiliations.component.ts +++ b/connect/affiliations/affiliations.component.ts @@ -28,13 +28,11 @@ export class AffiliationsComponent { public properties: EnvProperties = properties; private subscriptions = []; - constructor(private route: ActivatedRoute, private affiliationService: AffiliationService) { + constructor(private route: ActivatedRoute, private affiliationService: AffiliationService, private config: ConfigurationService) { } - public ngOnInit(/*private config: ConfigurationService */) { - this.communityId = ConnectHelper.getCommunityFromDomain(properties.domain); - - /* this.subscriptions.push(this.config.portalAsObservable.subscribe( + public ngOnInit() { + this.subscriptions.push(this.config.portalAsObservable.subscribe( res => { // this.portal = res; this.communityId = res.pid @@ -42,7 +40,7 @@ export class AffiliationsComponent { error => { console.log(error); } - ));*/ + )); if (this.getAffiliationsFromAPI) { this.showLoading = true; this.affiliationService.initAffiliations(this.communityId); diff --git a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.html b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.html index 7b31dcfe..10828a57 100644 --- a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.html +++ b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.html @@ -12,15 +12,21 @@ {{pluginObject.textLine2}} - - - +
+ + +
+ + diff --git a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.ts b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.ts index 1eaed3d2..1c760867 100644 --- a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.ts +++ b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.ts @@ -20,7 +20,8 @@ export class PluginFeaturedDatasetsComponent extends PluginBaseComponent - No community info available available + No community info available