diff options
Diffstat (limited to 'client/src/app/modal/welcome-modal.component.ts')
-rw-r--r-- | client/src/app/modal/welcome-modal.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/modal/welcome-modal.component.ts b/client/src/app/modal/welcome-modal.component.ts index 72ae20b43..06fe4cba5 100644 --- a/client/src/app/modal/welcome-modal.component.ts +++ b/client/src/app/modal/welcome-modal.component.ts | |||
@@ -37,10 +37,10 @@ export class WelcomeModalComponent { | |||
37 | peertubeLocalStorage.setItem(this.LOCAL_STORAGE_KEYS.NO_WELCOME_MODAL, 'true') | 37 | peertubeLocalStorage.setItem(this.LOCAL_STORAGE_KEYS.NO_WELCOME_MODAL, 'true') |
38 | 38 | ||
39 | this.userService.updateMyProfile({ noWelcomeModal: true }) | 39 | this.userService.updateMyProfile({ noWelcomeModal: true }) |
40 | .subscribe( | 40 | .subscribe({ |
41 | () => console.log('We will not open the welcome modal again.'), | 41 | next: () => console.log('We will not open the welcome modal again.'), |
42 | 42 | ||
43 | err => this.notifier.error(err.message) | 43 | error: err => this.notifier.error(err.message) |
44 | ) | 44 | }) |
45 | } | 45 | } |
46 | } | 46 | } |