Browse Source

Fix address link 2

pull/54/head
AlphaX-Projects 2 years ago
parent
commit
361ed71af5
  1. 12
      qortal-ui-core/src/components/sidenav-menu.js
  2. 10
      qortal-ui-plugins/plugins/core/wallet/wallet-app.src.js

12
qortal-ui-core/src/components/sidenav-menu.js

@ -17,7 +17,7 @@ class SidenavMenu extends connect(store)(LitElement) {
urls: { type: Object },
nodeType: { type: String, reflect: true },
theme: { type: String, reflect: true },
addressInfo: { type: Object },
addressInfo: { type: Object }
};
}
@ -152,14 +152,8 @@ class SidenavMenu extends connect(store)(LitElement) {
href="/app/become-minter"
>
<vaadin-icon icon="vaadin:thumbs-up" slot="icon"></vaadin-icon>
</side-menu-item>`}
<side-menu-item
label="${translate('sidemenu.rewardshare')}"
href="/app/reward-share"
>
<vaadin-icon icon="vaadin:share-square" slot="icon"></vaadin-icon>
</side-menu-item>
</side-menu-item>`
}
${isSponsor ? html`
<side-menu-item
label="${translate('mintingpage.mchange35')}"

10
qortal-ui-plugins/plugins/core/wallet/wallet-app.src.js

@ -2994,35 +2994,35 @@ class MultiWallet extends LitElement {
sendFromBtcAddressbook(websiteObj) {
let address = websiteObj.address
this.recipient = address
this.btcRecipient = address
this.openSendBtc()
this.shadowRoot.querySelector('#btcBookDialog').close()
}
sendFromLtcAddressbook(websiteObj) {
let address = websiteObj.address
this.recipient = address
this.ltcRecipient = address
this.openSendLtc()
this.shadowRoot.querySelector('#ltcBookDialog').close()
}
sendFromDogeAddressbook(websiteObj) {
let address = websiteObj.address
this.recipient = address
this.dogeRecipient = address
this.openSendDoge()
this.shadowRoot.querySelector('#dogeBookDialog').close()
}
sendFromDgbAddressbook(websiteObj) {
let address = websiteObj.address
this.recipient = address
this.dgbRecipient = address
this.openSendDgb()
this.shadowRoot.querySelector('#dgbBookDialog').close()
}
sendFromRvnAddressbook(websiteObj) {
let address = websiteObj.address
this.recipient = address
this.rvnRecipient = address
this.openSendRvn()
this.shadowRoot.querySelector('#rvnBookDialog').close()
}

Loading…
Cancel
Save