From b1654dbd84e37fe0d36251b3d9667408375e6938 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Tue, 11 Aug 2020 14:47:14 +0000 Subject: [PATCH] [Connect|Trunk] Piwik: update beta piwik ids fro new communities Statistics: fix issue with variable used before initialization git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59252 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/statistics/statistics.component.ts | 2 +- src/app/utils/piwikHelper.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/statistics/statistics.component.ts b/src/app/statistics/statistics.component.ts index 555b034..e94734e 100644 --- a/src/app/statistics/statistics.component.ts +++ b/src/app/statistics/statistics.component.ts @@ -107,8 +107,8 @@ export class StatisticsComponent { HelperFunctions.scroll(); } this.communityName = community.shortTitle; - this.createStatisticsObjects(); this.createChartUrlMap(); + this.createStatisticsObjects(); })); // console.log(" Stats! "+ this.properties.statisticsAPIURL); diff --git a/src/app/utils/piwikHelper.ts b/src/app/utils/piwikHelper.ts index 4063e26..6be2a01 100644 --- a/src/app/utils/piwikHelper.ts +++ b/src/app/utils/piwikHelper.ts @@ -19,8 +19,8 @@ export class PiwikHelper{ "risis":219, "science-innovation-policy":253, "covid-19":267, - "rural-digital-europe":null, - "enermaps":null + "rural-digital-europe":319, + "enermaps":318 }; public static siteIDsProduction={ "connect": 112, @@ -42,8 +42,8 @@ export class PiwikHelper{ "risis":null, "science-innovation-policy":null, "covid-19":null, - "rural-digital-europe":319, - "enermaps":318 + "rural-digital-europe":null, + "enermaps":null }; public static getSiteId(communityId:string, environment:string){ // if(environment == 'production'){