Clean up merge

This commit is contained in:
Rene Vergara 2022-07-20 11:10:24 -05:00
parent eea842d4e4
commit 79c1b1e5dc
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -70,14 +70,8 @@ export class SettingsComponent implements OnInit {
this.owner.name = this.settingsForm.value.name;
this.owner.currency = this.settingsForm.value.currency;
this.owner.zats = this.settingsForm.value.useZats;
this.owner.payconf = this.useVKey;
if ( this.useVKey ) {
this.owner.viewkey = this.settingsForm.value.VKey;
console.log(this.owner.viewkey);
}
else
this.owner.viewkey = '';
this.owner.payconf = this.settingsForm.value.useVKey;
this.owner.viewkey = this.settingsForm.value.vKey;
this.dialogRef.close(this.owner);
}