From 98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 May 2023 08:45:37 +0200 Subject: Remove invalid console logs --- .../my-account-email-preferences.component.ts | 2 +- client/src/app/shared/shared-forms/input-switch.component.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'client/src/app') 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 this.user.emailPublic = details.emailPublic }, - error: err => console.log(err.message) + error: err => this.notifier.error(err.message) }) } } 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 { propagateChange = (_: any) => { /* empty */ } writeValue (checked: boolean) { - console.log(checked) this.checked = checked } @@ -33,7 +32,6 @@ export class InputSwitchComponent implements ControlValueAccessor { } update () { - console.log(this.checked) this.checked = !this.checked this.propagateChange(this.checked) } -- cgit v1.2.3