diff options
Diffstat (limited to 'client/src/app/modal/account-setup-warning-modal.component.ts')
-rw-r--r-- | client/src/app/modal/account-setup-warning-modal.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/modal/account-setup-warning-modal.component.ts b/client/src/app/modal/account-setup-warning-modal.component.ts index c4cbf92b6..b999a3407 100644 --- a/client/src/app/modal/account-setup-warning-modal.component.ts +++ b/client/src/app/modal/account-setup-warning-modal.component.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import { Component, ElementRef, ViewChild } from '@angular/core' | 1 | import { Component, ElementRef, ViewChild } from '@angular/core' |
2 | import { Notifier, ServerService, User, UserService } from '@app/core' | 2 | import { Notifier, ServerService, User, UserService } from '@app/core' |
3 | import { NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' | 3 | import { NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' |
4 | import { logger } from '@root-helpers/logger' | ||
4 | import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' | 5 | import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' |
5 | 6 | ||
6 | @Component({ | 7 | @Component({ |
@@ -71,7 +72,7 @@ export class AccountSetupWarningModalComponent { | |||
71 | 72 | ||
72 | this.userService.updateMyProfile({ noAccountSetupWarningModal: true }) | 73 | this.userService.updateMyProfile({ noAccountSetupWarningModal: true }) |
73 | .subscribe({ | 74 | .subscribe({ |
74 | next: () => console.log('We will not open the account setup modal again.'), | 75 | next: () => logger.info('We will not open the account setup modal again.'), |
75 | 76 | ||
76 | error: err => this.notifier.error(err.message) | 77 | error: err => this.notifier.error(err.message) |
77 | }) | 78 | }) |