Merge branch 'monitor-production' into develop
This commit is contained in:
commit
3af2efb0d9
|
@ -43,8 +43,8 @@ export class UserComponent {
|
||||||
this.loginUrl = this.properties.loginUrl;
|
this.loginUrl = this.properties.loginUrl;
|
||||||
if (typeof document !== 'undefined') {
|
if (typeof document !== 'undefined') {
|
||||||
this.server = false;
|
this.server = false;
|
||||||
this.userManagementsService.getUserInfo().subscribe( user => {
|
this.userManagementsService.updateUserInfo( () => {
|
||||||
this.user = user;
|
this.user = this.userManagementsService.user;
|
||||||
this.loggedIn = !!this.user;
|
this.loggedIn = !!this.user;
|
||||||
this.errorMessage = "";
|
this.errorMessage = "";
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
|
Loading…
Reference in New Issue