Fix address link 2

This commit is contained in:
AlphaX-Projects 2022-08-22 10:05:29 +02:00
parent 20165d2807
commit 361ed71af5
2 changed files with 8 additions and 14 deletions

View File

@ -17,7 +17,7 @@ class SidenavMenu extends connect(store)(LitElement) {
urls: { type: Object }, urls: { type: Object },
nodeType: { type: String, reflect: true }, nodeType: { type: String, reflect: true },
theme: { 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" href="/app/become-minter"
> >
<vaadin-icon icon="vaadin:thumbs-up" slot="icon"></vaadin-icon> <vaadin-icon icon="vaadin:thumbs-up" slot="icon"></vaadin-icon>
</side-menu-item>`} </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>
${isSponsor ? html` ${isSponsor ? html`
<side-menu-item <side-menu-item
label="${translate('mintingpage.mchange35')}" label="${translate('mintingpage.mchange35')}"

View File

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