aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-25 08:45:37 +0200
committerChocobozzz <me@florianbigard.com>2023-05-25 08:45:37 +0200
commit98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b (patch)
tree7fdafd35aaf715ec5745f07e8358c5f56bc5a852 /client
parent608c07bb39d53e562c2e1ef768e3188e6babf79d (diff)
downloadPeerTube-98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b.tar.gz
PeerTube-98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b.tar.zst
PeerTube-98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b.zip
Remove invalid console logs
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-email-preferences/my-account-email-preferences.component.ts2
-rw-r--r--client/src/app/shared/shared-forms/input-switch.component.ts2
2 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-email-preferences/my-account-email-preferences.component.ts b/client/src/app/+my-account/my-account-settings/my-account-email-preferences/my-account-email-preferences.component.ts
index 7fd59d7c8..381d18922 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-email-preferences/my-account-email-preferences.component.ts
+++ b/client/src/app/+my-account/my-account-settings/my-account-email-preferences/my-account-email-preferences.component.ts
@@ -45,7 +45,7 @@ export class MyAccountEmailPreferencesComponent extends FormReactive implements
45 this.user.emailPublic = details.emailPublic 45 this.user.emailPublic = details.emailPublic
46 }, 46 },
47 47
48 error: err => console.log(err.message) 48 error: err => this.notifier.error(err.message)
49 }) 49 })
50 } 50 }
51} 51}
diff --git a/client/src/app/shared/shared-forms/input-switch.component.ts b/client/src/app/shared/shared-forms/input-switch.component.ts
index f340ce81e..abb96de62 100644
--- a/client/src/app/shared/shared-forms/input-switch.component.ts
+++ b/client/src/app/shared/shared-forms/input-switch.component.ts
@@ -20,7 +20,6 @@ export class InputSwitchComponent implements ControlValueAccessor {
20 propagateChange = (_: any) => { /* empty */ } 20 propagateChange = (_: any) => { /* empty */ }
21 21
22 writeValue (checked: boolean) { 22 writeValue (checked: boolean) {
23 console.log(checked)
24 this.checked = checked 23 this.checked = checked
25 } 24 }
26 25
@@ -33,7 +32,6 @@ export class InputSwitchComponent implements ControlValueAccessor {
33 } 32 }
34 33
35 update () { 34 update () {
36 console.log(this.checked)
37 this.checked = !this.checked 35 this.checked = !this.checked
38 this.propagateChange(this.checked) 36 this.propagateChange(this.checked)
39 } 37 }