diff options
Diffstat (limited to 'client/src/app/modal/instance-config-warning-modal.component.ts')
-rw-r--r-- | client/src/app/modal/instance-config-warning-modal.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/modal/instance-config-warning-modal.component.ts b/client/src/app/modal/instance-config-warning-modal.component.ts index 300738a41..23c2c777e 100644 --- a/client/src/app/modal/instance-config-warning-modal.component.ts +++ b/client/src/app/modal/instance-config-warning-modal.component.ts | |||
@@ -2,6 +2,7 @@ import { Location } from '@angular/common' | |||
2 | import { Component, ElementRef, ViewChild } from '@angular/core' | 2 | import { Component, ElementRef, ViewChild } from '@angular/core' |
3 | import { Notifier, User, UserService } from '@app/core' | 3 | import { Notifier, User, UserService } from '@app/core' |
4 | import { NgbModal } from '@ng-bootstrap/ng-bootstrap' | 4 | import { NgbModal } from '@ng-bootstrap/ng-bootstrap' |
5 | import { logger } from '@root-helpers/logger' | ||
5 | import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' | 6 | import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' |
6 | import { About, ServerConfig } from '@shared/models/server' | 7 | import { About, ServerConfig } from '@shared/models/server' |
7 | 8 | ||
@@ -64,7 +65,7 @@ export class InstanceConfigWarningModalComponent { | |||
64 | 65 | ||
65 | this.userService.updateMyProfile({ noInstanceConfigWarningModal: true }) | 66 | this.userService.updateMyProfile({ noInstanceConfigWarningModal: true }) |
66 | .subscribe({ | 67 | .subscribe({ |
67 | next: () => console.log('We will not open the instance config warning modal again.'), | 68 | next: () => logger.info('We will not open the instance config warning modal again.'), |
68 | 69 | ||
69 | error: err => this.notifier.error(err.message) | 70 | error: err => this.notifier.error(err.message) |
70 | }) | 71 | }) |