From 79c1b1e5dc5091cab3bce3273b55ed40b8fb9d00 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Wed, 20 Jul 2022 11:10:24 -0500 Subject: [PATCH] Clean up merge --- src/app/settings/settings.component.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/app/settings/settings.component.ts b/src/app/settings/settings.component.ts index c24a2e6..084129f 100644 --- a/src/app/settings/settings.component.ts +++ b/src/app/settings/settings.component.ts @@ -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); }