diff options
Diffstat (limited to 'client/src/app/modal/quick-settings-modal.component.ts')
-rw-r--r-- | client/src/app/modal/quick-settings-modal.component.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/modal/quick-settings-modal.component.ts b/client/src/app/modal/quick-settings-modal.component.ts index 99859a1a5..7a53179cb 100644 --- a/client/src/app/modal/quick-settings-modal.component.ts +++ b/client/src/app/modal/quick-settings-modal.component.ts | |||
@@ -31,20 +31,20 @@ export class QuickSettingsModalComponent extends FormReactive implements OnInit | |||
31 | ngOnInit () { | 31 | ngOnInit () { |
32 | this.user = this.userService.getAnonymousUser() | 32 | this.user = this.userService.getAnonymousUser() |
33 | this.localStorageService.watch() | 33 | this.localStorageService.watch() |
34 | .subscribe( | 34 | .subscribe({ |
35 | () => this.user = this.userService.getAnonymousUser() | 35 | next: () => this.user = this.userService.getAnonymousUser() |
36 | ) | 36 | }) |
37 | 37 | ||
38 | this.userInformationLoaded.next(true) | 38 | this.userInformationLoaded.next(true) |
39 | 39 | ||
40 | this.authService.loginChangedSource | 40 | this.authService.loginChangedSource |
41 | .pipe(filter(status => status !== AuthStatus.LoggedIn)) | 41 | .pipe(filter(status => status !== AuthStatus.LoggedIn)) |
42 | .subscribe( | 42 | .subscribe({ |
43 | () => { | 43 | next: () => { |
44 | this.user = this.userService.getAnonymousUser() | 44 | this.user = this.userService.getAnonymousUser() |
45 | this.userInformationLoaded.next(true) | 45 | this.userInformationLoaded.next(true) |
46 | } | 46 | } |
47 | ) | 47 | }) |
48 | } | 48 | } |
49 | 49 | ||
50 | isUserLoggedIn () { | 50 | isUserLoggedIn () { |