Compare commits

..

No commits in common. "4f498c4c49029925eb91e11f648c466725919b4e" and "e33e0a7f3692c6009c96e682b71431da71403ee6" have entirely different histories.

6 changed files with 7 additions and 13 deletions

View file

@ -3,13 +3,7 @@ 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.1] - 2023-06-26 ## [2.3.0]
### 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.1", "version": "2.3.0",
"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.1</div> <div class="tiny">Version 2.3.0</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 = ''; codeString: string = 'Test';
invString: string = ''; invString: string = '';
public isWCOrder : boolean = false; public isWCOrder : boolean = false;
zcashUrl: SafeUrl = ''; zcashUrl: SafeUrl = '';
@ -120,7 +120,6 @@ 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';
@ -135,6 +134,7 @@ 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: () => {