aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
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 }