Add console outputs for debugging Settings form

This commit is contained in:
Rene V. Vergara A. 2022-07-20 10:40:55 -05:00
parent 3815f94204
commit 25a1d7a50e

View file

@ -75,8 +75,9 @@ export class SettingsComponent implements OnInit {
this.owner.currency = this.settingsForm.value.currency; this.owner.currency = this.settingsForm.value.currency;
this.owner.zats = this.settingsForm.value.useZats; this.owner.zats = this.settingsForm.value.useZats;
this.owner.payconf = this.useVKey; this.owner.payconf = this.useVKey;
if ( this.settingsForm.value.VkeyOn ) { if ( this.useVKey ) {
this.owner.viewkey = this.settingsForm.value.VKey; this.owner.viewkey = this.settingsForm.value.VKey;
console.log(this.owner.viewkey);
} }
else else
this.owner.viewkey = ''; this.owner.viewkey = '';