Project

General

Profile

« Previous | Next » 

Revision 56353

[newlinking|branch]
Merge trunk to Branch rev 56350

View differences:

statistics.component.ts
89 89

  
90 90
        this.route.queryParams.subscribe(
91 91
          communityId => {
92
            this.communityId = communityId['communityId'];
93
            if (!this.communityId) {
94
              this.communityId = ConnectHelper.getCommunityFromDomain(this.properties.domain);
92
            this.communityId  = ConnectHelper.getCommunityFromDomain(this.properties.domain);
93
            if(!this.communityId) {
94
              this.communityId = communityId['communityId'];
95 95
            }
96

  
96 97
            if (this.currentMode == "showInMonitor" && this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
97 98
              this.piwiksub = this._piwikService.trackView(this.properties, "Monitor " + this.communityId, PiwikHelper.siteIDs[this.communityId]).subscribe();
98 99
            }

Also available in: Unified diff