Clean up merge
This commit is contained in:
parent
eea842d4e4
commit
79c1b1e5dc
1 changed files with 2 additions and 8 deletions
|
@ -70,14 +70,8 @@ export class SettingsComponent implements OnInit {
|
||||||
this.owner.name = this.settingsForm.value.name;
|
this.owner.name = this.settingsForm.value.name;
|
||||||
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.settingsForm.value.useVKey;
|
||||||
this.owner.payconf = this.useVKey;
|
this.owner.viewkey = this.settingsForm.value.vKey;
|
||||||
if ( this.useVKey ) {
|
|
||||||
this.owner.viewkey = this.settingsForm.value.VKey;
|
|
||||||
console.log(this.owner.viewkey);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
this.owner.viewkey = '';
|
|
||||||
|
|
||||||
this.dialogRef.close(this.owner);
|
this.dialogRef.close(this.owner);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue