aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/modal/account-setup-modal.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/modal/account-setup-modal.component.ts')
-rw-r--r--client/src/app/modal/account-setup-modal.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/modal/account-setup-modal.component.ts b/client/src/app/modal/account-setup-modal.component.ts
index 8256f5103..4cb8de2c7 100644
--- a/client/src/app/modal/account-setup-modal.component.ts
+++ b/client/src/app/modal/account-setup-modal.component.ts
@@ -45,11 +45,12 @@ export class AccountSetupModalComponent implements OnInit {
45 45
46 ngOnInit () { 46 ngOnInit () {
47 this.serverConfig = this.serverService.getHTMLConfig() 47 this.serverConfig = this.serverService.getHTMLConfig()
48 this.user = this.authService.getUser()
49 48
50 this.authService.userInformationLoaded 49 this.authService.userInformationLoaded
51 .subscribe( 50 .subscribe(
52 () => { 51 () => {
52 this.user = this.authService.getUser()
53
53 if (this.isUserRoot) return 54 if (this.isUserRoot) return
54 if (this.hasAccountAvatar && this.hasAccountDescription) return 55 if (this.hasAccountAvatar && this.hasAccountDescription) return
55 if (this.userService.hasSignupInThisSession()) return 56 if (this.userService.hasSignupInThisSession()) return