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

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);
}