aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 4d5a9f75f..ae6046cc1 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -220,7 +220,7 @@ export class AppComponent implements OnInit, AfterViewInit {
220 } 220 }
221 } 221 }
222 222
223 private async openModalsIfNeeded () { 223 private openModalsIfNeeded () {
224 this.authService.userInformationLoaded 224 this.authService.userInformationLoaded
225 .pipe( 225 .pipe(
226 map(() => this.authService.getUser()), 226 map(() => this.authService.getUser()),
@@ -232,7 +232,7 @@ export class AppComponent implements OnInit, AfterViewInit {
232 ).subscribe(({ serverConfig, user }) => this._openAdminModalsIfNeeded(serverConfig, user)) 232 ).subscribe(({ serverConfig, user }) => this._openAdminModalsIfNeeded(serverConfig, user))
233 } 233 }
234 234
235 private async _openAdminModalsIfNeeded (serverConfig: ServerConfig, user: User) { 235 private _openAdminModalsIfNeeded (serverConfig: ServerConfig, user: User) {
236 if (user.noWelcomeModal !== true) return this.welcomeModal.show() 236 if (user.noWelcomeModal !== true) return this.welcomeModal.show()
237 237
238 if (user.noInstanceConfigWarningModal === true || !serverConfig.signup.allowed) return 238 if (user.noInstanceConfigWarningModal === true || !serverConfig.signup.allowed) return