Project

General

Profile

« Previous | Next » 

Revision 58584

[Admin | Trunk]: Fix a bug with communities number on wellcome page

View differences:

wellcome.component.ts
104 104
      this.propertiesService.setEnvProperties(es);
105 105
      this.properties = this.propertiesService.envSpecific;
106 106
      HelperFunctions.scroll();
107
      let count = 0;
107 108
      this.userManagementService.getUserInfo().subscribe(user => {
108 109
        this.user = user;
109

  
110
        //this._communitiesService.getCommunities(this.properties, this.properties.communityAPI + 'communities').subscribe(
111 110
        this._communitiesService.getCommunitiesState().subscribe(
112 111
          communities => {
112
            this.communities = [];
113 113
            if (!communities || communities.length === 0) {
114 114
              return;
115 115
            }

Also available in: Unified diff