diff --git a/CHANGELOG.md b/CHANGELOG.md
index ede7a5c..b5bf563 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,7 +3,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [2.3.0]
+## [2.3.1] - 2023-06-26
+
+### Fixed
+
+- Broken wallet link for invoices
+
+## [2.3.0] - 2023-06-26
### Changed
diff --git a/package.json b/package.json
index dc6e7b1..cf19757 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "zgo",
- "version": "2.3.0",
+ "version": "2.3.1",
"scripts": {
"ng": "ng",
"start": "ng serve",
diff --git a/src/app/app.component.html b/src/app/app.component.html
index 811f00b..9116cfb 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -45,7 +45,7 @@
style="margin-top: 10px;
margin-bottom: 20px;">
© 2023 Vergara Technologies LLC
- Version 2.3.0
+ Version 2.3.1
{{ vE.mainPriceData }}
diff --git a/src/app/invoice/invoice.component.ts b/src/app/invoice/invoice.component.ts
index da07cc4..5c6bda0 100644
--- a/src/app/invoice/invoice.component.ts
+++ b/src/app/invoice/invoice.component.ts
@@ -30,7 +30,7 @@ export class InvoiceComponent implements OnInit {
public nameUpdate: Observable;
name: string = '';
error: boolean = false;
- codeString: string = 'Test';
+ codeString: string = '';
invString: string = '';
public isWCOrder : boolean = false;
zcashUrl: SafeUrl = '';
@@ -120,6 +120,7 @@ export class InvoiceComponent implements OnInit {
correctLevel: QRCode.CorrectLevel.H
});
this.error = false;
+ this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
} else {
this.error = true;
this.codeString = 'Test';
@@ -134,7 +135,6 @@ export class InvoiceComponent implements OnInit {
if ( order.session.substring(0,1) == 'W') {
this.isWCOrder = true;
}
- this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
});
this.nameUpdate.subscribe(name => {
this.name = name;
diff --git a/src/app/settings/settings.component.ts b/src/app/settings/settings.component.ts
index 30c73e7..2452a9c 100644
--- a/src/app/settings/settings.component.ts
+++ b/src/app/settings/settings.component.ts
@@ -224,7 +224,7 @@ export class SettingsComponent implements OnInit {
this.owner.zats = this.settingsForm.value.useZats;
this.owner.payconf = this.settingsForm.value.useVKey;
this.owner.viewkey = this.settingsForm.value.vKey;
- console.log('Settings component key: ' + this.owner.viewkey);
+ //console.log('Settings component key: ' + this.owner.viewkey);
this.dialogRef.close(this.owner);
}
diff --git a/src/app/user.service.ts b/src/app/user.service.ts
index d21baba..0e74069 100644
--- a/src/app/user.service.ts
+++ b/src/app/user.service.ts
@@ -162,7 +162,7 @@ export class UserService{
}
saveOwnerSettings(o: Owner) {
- console.log('saveOwnerSettings: ' + o.viewkey);
+ //console.log('saveOwnerSettings: ' + o.viewkey);
if(o.viewkey.length > 20) {
this.saveOwnerViewingKey(o.viewkey).subscribe({
next: () => {