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
1 changed files with 2 additions and 1 deletions

View File

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