aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/modal/quick-settings-modal.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-17 11:27:47 +0200
committerChocobozzz <me@florianbigard.com>2021-08-17 14:01:45 +0200
commit1378c0d343028f3d40d7d795422684ab9e6a1599 (patch)
tree08062b84a38a7e2dfe0aa674e7ca8e1b7321044e /client/src/app/modal/quick-settings-modal.component.ts
parentc186a67f90203af6bfa434f026efdc99193bcd65 (diff)
downloadPeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.gz
PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.zst
PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.zip
Fix client lint
Diffstat (limited to 'client/src/app/modal/quick-settings-modal.component.ts')
-rw-r--r--client/src/app/modal/quick-settings-modal.component.ts12
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 () {