diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-forms/input-switch.component.ts | 2 |
1 files changed, 2 insertions, 0 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 abb96de62..f340ce81e 100644 --- a/client/src/app/shared/shared-forms/input-switch.component.ts +++ b/client/src/app/shared/shared-forms/input-switch.component.ts | |||
@@ -20,6 +20,7 @@ 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) | ||
23 | this.checked = checked | 24 | this.checked = checked |
24 | } | 25 | } |
25 | 26 | ||
@@ -32,6 +33,7 @@ export class InputSwitchComponent implements ControlValueAccessor { | |||
32 | } | 33 | } |
33 | 34 | ||
34 | update () { | 35 | update () { |
36 | console.log(this.checked) | ||
35 | this.checked = !this.checked | 37 | this.checked = !this.checked |
36 | this.propagateChange(this.checked) | 38 | this.propagateChange(this.checked) |
37 | } | 39 | } |