Revision 57548
Added by Konstantinos Triantafyllou over 4 years ago
app.component.ts | ||
---|---|---|
94 | 94 |
} catch (e) { |
95 | 95 |
} |
96 | 96 |
} |
97 |
if(this.isClient) { |
|
98 |
this.userManagementService.getUserInfo(this.properties.userInfoUrl).subscribe(user => { |
|
99 |
this.user = user; |
|
100 |
this.init(); |
|
101 |
}); |
|
102 |
} else { |
|
103 |
this.user = null; |
|
97 |
this.userManagementService.getUserInfo(this.properties.userInfoUrl).subscribe(user => { |
|
98 |
this.user = user; |
|
104 | 99 |
this.init(); |
105 |
} |
|
100 |
}); |
|
101 |
this.init(); |
|
106 | 102 |
}, error => { |
107 | 103 |
console.log("App couldn't fetch properties"); |
108 | 104 |
console.log(error); |
Also available in: Unified diff
[Connect]: Revert check if is Client. Added on UserInfo method.