Hide QR code when there is no address to display.

This commit is contained in:
CalDescent 2022-08-17 18:42:04 +01:00
parent 67c7f2dd61
commit 9982a24c0a

View File

@ -752,7 +752,7 @@ class MultiWallet extends LitElement {
${this.renderSendButton()} ${this.renderSendButton()}
</span> </span>
</h2> </h2>
<div class="qrcode-pos"> <div class="qrcode-pos" ?hidden="${this.getSelectedWalletAddress().length < 1}">
<qortal-qrcode-generator data="${this.getSelectedWalletAddress()}" mode="octet" format="html" auto></qortal-qrcode-generator> <qortal-qrcode-generator data="${this.getSelectedWalletAddress()}" mode="octet" format="html" auto></qortal-qrcode-generator>
</div> </div>
<div id="transactions"> <div id="transactions">