Project

General

Profile

« Previous | Next » 

Revision 57548

[Connect]: Revert check if is Client. Added on UserInfo method.

View differences:

invite.component.ts
95 95
      this.errorMessage = "";
96 96
      this.missingCommunityId = "";
97 97
      this.status = this.errorCodes.LOADING;
98
      if (typeof document !== 'undefined') {
99
        this.userManageService.getUserInfo(this.properties.userInfoUrl).subscribe(user => {
100
          this.user = user;
101
          this.init();
102
        });
103
      } else {
98
      this.userManageService.getUserInfo(this.properties.userInfoUrl).subscribe(user => {
99
        this.user = user;
104 100
        this.init();
105
      }
101
      });
102
      this.init();
106 103
    });
107 104
  }
108 105

  

Also available in: Unified diff