Revision 54852
Added by Argiro Kokogiannaki over 5 years ago
statistics.component.ts | ||
---|---|---|
97 | 97 |
this.route.queryParams.subscribe( |
98 | 98 |
communityId => { |
99 | 99 |
this.communityId = communityId['communityId']; |
100 |
if(!this.communityId){ |
|
100 |
if(!this.communityId && typeof document !== 'undefined'){
|
|
101 | 101 |
this.communityId = ConnectHelper.getCommunityFromDomain(document.location.hostname); |
102 | 102 |
} |
103 | 103 |
if(this.currentMode == "showInMonitor" && this.properties.enablePiwikTrack && (typeof document !== 'undefined')){ |
Also available in: Unified diff
[Trunk]
Add checks when location or document is used.
Get environment from properties file instead of domain
Invite, Subscribe, Manage Buttons: Smaller buttons, smaller icons