Merge branch 'fix55'

This commit is contained in:
Rene Vergara 2023-06-26 15:03:21 -05:00
commit 4f498c4c49
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2
6 changed files with 13 additions and 7 deletions

View file

@ -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). 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 ### Changed

View file

@ -1,6 +1,6 @@
{ {
"name": "zgo", "name": "zgo",
"version": "2.3.0", "version": "2.3.1",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",

View file

@ -45,7 +45,7 @@
style="margin-top: 10px; style="margin-top: 10px;
margin-bottom: 20px;"> margin-bottom: 20px;">
<div >&copy; 2023 Vergara Technologies LLC</div> <div >&copy; 2023 Vergara Technologies LLC</div>
<div class="tiny">Version 2.3.0</div> <div class="tiny">Version 2.3.1</div>
<div class="tiny">{{ vE.mainPriceData }}</div> <div class="tiny">{{ vE.mainPriceData }}</div>
</div> </div>
<div></div> <div></div>

View file

@ -30,7 +30,7 @@ export class InvoiceComponent implements OnInit {
public nameUpdate: Observable<string>; public nameUpdate: Observable<string>;
name: string = ''; name: string = '';
error: boolean = false; error: boolean = false;
codeString: string = 'Test'; codeString: string = '';
invString: string = ''; invString: string = '';
public isWCOrder : boolean = false; public isWCOrder : boolean = false;
zcashUrl: SafeUrl = ''; zcashUrl: SafeUrl = '';
@ -120,6 +120,7 @@ export class InvoiceComponent implements OnInit {
correctLevel: QRCode.CorrectLevel.H correctLevel: QRCode.CorrectLevel.H
}); });
this.error = false; this.error = false;
this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
} else { } else {
this.error = true; this.error = true;
this.codeString = 'Test'; this.codeString = 'Test';
@ -134,7 +135,6 @@ export class InvoiceComponent implements OnInit {
if ( order.session.substring(0,1) == 'W') { if ( order.session.substring(0,1) == 'W') {
this.isWCOrder = true; this.isWCOrder = true;
} }
this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
}); });
this.nameUpdate.subscribe(name => { this.nameUpdate.subscribe(name => {
this.name = name; this.name = name;

View file

@ -224,7 +224,7 @@ export class SettingsComponent implements OnInit {
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.settingsForm.value.useVKey;
this.owner.viewkey = this.settingsForm.value.vKey; 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); this.dialogRef.close(this.owner);
} }

View file

@ -162,7 +162,7 @@ export class UserService{
} }
saveOwnerSettings(o: Owner) { saveOwnerSettings(o: Owner) {
console.log('saveOwnerSettings: ' + o.viewkey); //console.log('saveOwnerSettings: ' + o.viewkey);
if(o.viewkey.length > 20) { if(o.viewkey.length > 20) {
this.saveOwnerViewingKey(o.viewkey).subscribe({ this.saveOwnerViewingKey(o.viewkey).subscribe({
next: () => { next: () => {