Browse Source

Remove invalid console logs

develop
Chocobozzz 4 days ago
parent
commit
98eacc80d3
No known key found for this signature in database GPG Key ID: 583A612D890159BE
2 changed files with 1 additions and 3 deletions
  1. +1
    -1
      client/src/app/+my-account/my-account-settings/my-account-email-preferences/my-account-email-preferences.component.ts
  2. +0
    -2
      client/src/app/shared/shared-forms/input-switch.component.ts

+ 1
- 1
client/src/app/+my-account/my-account-settings/my-account-email-preferences/my-account-email-preferences.component.ts View File

@@ -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)
})
}
}

+ 0
- 2
client/src/app/shared/shared-forms/input-switch.component.ts View File

@@ -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)
}


Loading…
Cancel
Save