]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-forms/input-switch.component.ts
Fix notification settings
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / input-switch.component.ts
index abb96de6244cf3bfa64c02023610b4cb97e10882..f340ce81e85e6e3aeb606bc15436edf78498662b 100644 (file)
@@ -20,6 +20,7 @@ export class InputSwitchComponent implements ControlValueAccessor {
   propagateChange = (_: any) => { /* empty */ }
 
   writeValue (checked: boolean) {
+    console.log(checked)
     this.checked = checked
   }
 
@@ -32,6 +33,7 @@ export class InputSwitchComponent implements ControlValueAccessor {
   }
 
   update () {
+    console.log(this.checked)
     this.checked = !this.checked
     this.propagateChange(this.checked)
   }