[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
This commit is contained in:
argiro.kokogiannaki 2020-08-11 14:47:14 +00:00
parent 7845e744c0
commit b1654dbd84
2 changed files with 5 additions and 5 deletions

View File

@ -107,8 +107,8 @@ export class StatisticsComponent {
HelperFunctions.scroll(); HelperFunctions.scroll();
} }
this.communityName = community.shortTitle; this.communityName = community.shortTitle;
this.createStatisticsObjects();
this.createChartUrlMap(); this.createChartUrlMap();
this.createStatisticsObjects();
})); }));
// console.log(" Stats! "+ this.properties.statisticsAPIURL); // console.log(" Stats! "+ this.properties.statisticsAPIURL);

View File

@ -19,8 +19,8 @@ export class PiwikHelper{
"risis":219, "risis":219,
"science-innovation-policy":253, "science-innovation-policy":253,
"covid-19":267, "covid-19":267,
"rural-digital-europe":null, "rural-digital-europe":319,
"enermaps":null "enermaps":318
}; };
public static siteIDsProduction={ public static siteIDsProduction={
"connect": 112, "connect": 112,
@ -42,8 +42,8 @@ export class PiwikHelper{
"risis":null, "risis":null,
"science-innovation-policy":null, "science-innovation-policy":null,
"covid-19":null, "covid-19":null,
"rural-digital-europe":319, "rural-digital-europe":null,
"enermaps":318 "enermaps":null
}; };
public static getSiteId(communityId:string, environment:string){ public static getSiteId(communityId:string, environment:string){
// if(environment == 'production'){ // if(environment == 'production'){