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 = '';