From 25a1d7a50e43589f7185792b59ae63ce6c3bef3a Mon Sep 17 00:00:00 2001 From: Rene Vergara A Date: Wed, 20 Jul 2022 10:40:55 -0500 Subject: [PATCH] Add console outputs for debugging Settings form --- src/app/settings/settings.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/settings/settings.component.ts b/src/app/settings/settings.component.ts index 4b94f05..e1179c9 100644 --- a/src/app/settings/settings.component.ts +++ b/src/app/settings/settings.component.ts @@ -75,8 +75,9 @@ export class SettingsComponent implements OnInit { this.owner.currency = this.settingsForm.value.currency; this.owner.zats = this.settingsForm.value.useZats; this.owner.payconf = this.useVKey; - if ( this.settingsForm.value.VkeyOn ) { + if ( this.useVKey ) { this.owner.viewkey = this.settingsForm.value.VKey; + console.log(this.owner.viewkey); } else this.owner.viewkey = '';