diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-25 08:45:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-25 08:45:37 +0200 |
commit | 98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b (patch) | |
tree | 7fdafd35aaf715ec5745f07e8358c5f56bc5a852 /client/src/app/shared | |
parent | 608c07bb39d53e562c2e1ef768e3188e6babf79d (diff) | |
download | PeerTube-98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b.tar.gz PeerTube-98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b.tar.zst PeerTube-98eacc80d398a2d17ea93ffebc1dd08d3f31ee0b.zip |
Remove invalid console logs
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-forms/input-switch.component.ts | 2 |
1 files changed, 0 insertions, 2 deletions
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 | } |