mirror of https://github.com/BTCPrivate/copay.git
Fix Receive if no wallet exists
This commit is contained in:
parent
481bc60134
commit
2ffae2a9c1
|
@ -33,7 +33,7 @@
|
||||||
</div>
|
</div>
|
||||||
<button ion-button (click)="goCopayers()" translate>Open wallet</button>
|
<button ion-button (click)="goCopayers()" translate>Open wallet</button>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="wallets" class="wallets-container" (click)="showWallets()">
|
<div *ngIf="wallets[0]" class="wallets-container" (click)="showWallets()">
|
||||||
<img src="assets/img/icon-wallet.svg" class="icon-wallet">
|
<img src="assets/img/icon-wallet.svg" class="icon-wallet">
|
||||||
<div class="wallet-text">
|
<div class="wallet-text">
|
||||||
<div>{{wallet.name}}</div>
|
<div>{{wallet.name}}</div>
|
||||||
|
|
|
@ -25,7 +25,7 @@ export class ReceivePage {
|
||||||
public protocolHandler: string;
|
public protocolHandler: string;
|
||||||
public address: string;
|
public address: string;
|
||||||
public qrAddress: string;
|
public qrAddress: string;
|
||||||
public wallets: any;
|
public wallets: Array<any> = [];
|
||||||
public wallet: any;
|
public wallet: any;
|
||||||
public showShareButton: boolean;
|
public showShareButton: boolean;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue