From a79fd13a17a2d50d1b2684802b56eaa538f926ed Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Fri, 14 Jul 2023 12:12:32 +0300 Subject: [PATCH] Update piwik with the new methods --- src/app/app.component.ts | 4 ++-- src/app/openaireLibrary | 2 +- src/app/pages/stats/stats.component.ts | 2 +- src/assets/common-assets | 2 +- src/assets/openaire-theme | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 5bb21a9..399c9ba 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -126,7 +126,7 @@ export class AppComponent implements OnInit { this.subscriptions.push(this.data.subscribe(data => { if(data && data.portal) { this.setProperties(data.portal); - this.configurationService.initCommunityInformation(this.properties, this.properties.adminToolsCommunity); + this.configurationService.initPortal(this.properties, this.properties.adminToolsCommunity); } })); this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => { @@ -172,7 +172,7 @@ export class AppComponent implements OnInit { } else { ConnectHelper.setPortalTypeFromPid(id); } - this.configurationService.initCommunityInformation(this.properties, this.properties.adminToolsCommunity); + this.configurationService.initPortal(this.properties, this.properties.adminToolsCommunity); } public get open() { diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index 8d8eda4..5645dee 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 8d8eda416b4873c50f689db54444f135396db56d +Subproject commit 5645deec97d1bd3cb35cec792ac8dc963c0f4d8a diff --git a/src/app/pages/stats/stats.component.ts b/src/app/pages/stats/stats.component.ts index 73ed26e..6d81836 100644 --- a/src/app/pages/stats/stats.component.ts +++ b/src/app/pages/stats/stats.component.ts @@ -133,7 +133,7 @@ export class StatsComponent implements OnInit { this._router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl": this._router.url} }); } else { //console.log(`calling ${this.properties.adminToolsAPIURL}/communityFull/${this.communityId}`); - this.configService.communityInformationState.subscribe( + this.configService.portalAsObservable.subscribe( res => { console.debug(res); if(res) { diff --git a/src/assets/common-assets b/src/assets/common-assets index 39cb4e5..2fd5784 160000 --- a/src/assets/common-assets +++ b/src/assets/common-assets @@ -1 +1 @@ -Subproject commit 39cb4e56d0320975fbd08fb5e9c68b87b0c82a10 +Subproject commit 2fd57843f85125e54adfb95b35776755037ea359 diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme index 1e06310..2fffe0f 160000 --- a/src/assets/openaire-theme +++ b/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit 1e06310b8b2b56f131754eaded615b6cf32c5848 +Subproject commit 2fffe0fa672adcf5577461d10c30e34b00308c85