mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
Fixed "adress" typo in code
This commit is contained in:
parent
edf1160d27
commit
d86e3134c0
@ -20,7 +20,7 @@ class ChatModals extends LitElement {
|
||||
hidePrivateMessageModal: { type: Function },
|
||||
hideBlockUserModal: { type: Function },
|
||||
toblockaddress: { type: String, attribute: true },
|
||||
chatBlockedAdresses: { type: Array }
|
||||
chatBlockedAddresses: { type: Array }
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ class ChatModals extends LitElement {
|
||||
this.isLoading = false
|
||||
this.hidePrivateMessageModal = () => { }
|
||||
this.hideBlockUserModal = () => { }
|
||||
this.chatBlockedAdresses = []
|
||||
this.chatBlockedAddresses = []
|
||||
}
|
||||
|
||||
render() {
|
||||
@ -313,11 +313,11 @@ class ChatModals extends LitElement {
|
||||
}, 500)
|
||||
}
|
||||
|
||||
async getChatBlockedAdresses() {
|
||||
const chatBlockedAdresses = await parentEpml.request('apiCall', {
|
||||
async getchatBlockedAddresses() {
|
||||
const chatBlockedAddresses = await parentEpml.request('apiCall', {
|
||||
url: `/lists/blockedAddresses?apiKey=${this.getApiKey()}`
|
||||
})
|
||||
this.chatBlockedAdresses = chatBlockedAdresses
|
||||
this.chatBlockedAddresses = chatBlockedAddresses
|
||||
}
|
||||
|
||||
async chatBlockAddress() {
|
||||
@ -339,8 +339,8 @@ class ChatModals extends LitElement {
|
||||
})
|
||||
|
||||
if (ret === true) {
|
||||
this.chatBlockedAdresses = this.chatBlockedAdresses.filter(item => item != address)
|
||||
this.chatBlockedAdresses.push(address)
|
||||
this.chatBlockedAddresses = this.chatBlockedAddresses.filter(item => item != address)
|
||||
this.chatBlockedAddresses.push(address)
|
||||
this.getChatBlockedList()
|
||||
this.hideBlockUserModal()
|
||||
let err1string = get("blockpage.bcchange2")
|
||||
|
@ -54,9 +54,9 @@ class LevelFounder extends LitElement {
|
||||
}
|
||||
|
||||
renderFounder() {
|
||||
let adressfounder = this.memberInfo.flags
|
||||
let addressfounder = this.memberInfo.flags
|
||||
|
||||
if (adressfounder === 1) {
|
||||
if (addressfounder === 1) {
|
||||
return html`
|
||||
<span id="founderTooltip" class="badge">F</span>
|
||||
<paper-tooltip class="custom" for="founderTooltip" position="top">FOUNDER</paper-tooltip>
|
||||
@ -67,13 +67,13 @@ class LevelFounder extends LitElement {
|
||||
}
|
||||
|
||||
renderLevel() {
|
||||
let adresslevel = this.memberInfo.level
|
||||
let addresslevel = this.memberInfo.level
|
||||
|
||||
return adresslevel ?
|
||||
return addresslevel ?
|
||||
html`
|
||||
<img id="level-img" src=${`/img/badges/level-${adresslevel}.png`} alt=${`badge-${adresslevel}`} class="message-data-level" />
|
||||
<img id="level-img" src=${`/img/badges/level-${addresslevel}.png`} alt=${`badge-${addresslevel}`} class="message-data-level" />
|
||||
<paper-tooltip class="level-img-tooltip" for="level-img" position="top">
|
||||
${translate("mintingpage.mchange27")} ${adresslevel}
|
||||
${translate("mintingpage.mchange27")} ${addresslevel}
|
||||
</paper-tooltip>
|
||||
`
|
||||
: ''
|
||||
|
@ -19,7 +19,7 @@ class NameMenu extends LitElement {
|
||||
return {
|
||||
toblockaddress: { type: String, attribute: true },
|
||||
nametodialog: { type: String, attribute: true },
|
||||
chatBlockedAdresses: { type: Array },
|
||||
chatBlockedAddresses: { type: Array },
|
||||
selectedAddress: { type: Object },
|
||||
config: { type: Object },
|
||||
myAddress: { type: Object, reflect: true },
|
||||
@ -36,7 +36,7 @@ class NameMenu extends LitElement {
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
this.chatBlockedAdresses = []
|
||||
this.chatBlockedAddresses = []
|
||||
this.selectedAddress = window.parent.reduxStore.getState().app.selectedAddress.address
|
||||
this.myAddress = {}
|
||||
this.balance = 1
|
||||
@ -94,10 +94,10 @@ class NameMenu extends LitElement {
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
this.getChatBlockedAdresses()
|
||||
this.getchatBlockedAddresses()
|
||||
|
||||
setInterval(() => {
|
||||
this.getChatBlockedAdresses()
|
||||
this.getchatBlockedAddresses()
|
||||
}, 60000)
|
||||
|
||||
window.onclick = function (event) {
|
||||
@ -185,8 +185,8 @@ class NameMenu extends LitElement {
|
||||
}, 500)
|
||||
}
|
||||
|
||||
async getChatBlockedAdresses() {
|
||||
this.chatBlockedAdresses = await parentEpml.request('apiCall', {
|
||||
async getchatBlockedAddresses() {
|
||||
this.chatBlockedAddresses = await parentEpml.request('apiCall', {
|
||||
url: `/lists/blockedAddresses?apiKey=${this.getApiKey()}`
|
||||
})
|
||||
}
|
||||
@ -210,8 +210,8 @@ class NameMenu extends LitElement {
|
||||
})
|
||||
|
||||
if (ret === true) {
|
||||
this.chatBlockedAdresses = this.chatBlockedAdresses.filter(item => item != address)
|
||||
this.chatBlockedAdresses.push(address)
|
||||
this.chatBlockedAddresses = this.chatBlockedAddresses.filter(item => item != address)
|
||||
this.chatBlockedAddresses.push(address)
|
||||
this.getChatBlockedList()
|
||||
this.closeMenu()
|
||||
this.shadowRoot.querySelector('#blockNameDialog').close()
|
||||
|
@ -3148,9 +3148,9 @@ class MultiWallet extends LitElement {
|
||||
this.shadowRoot.querySelector('#arrrBookDialog').close()
|
||||
}
|
||||
|
||||
removeQortAddress(adressObj) {
|
||||
removeQortAddress(addressObj) {
|
||||
const theQortalAddressBook = 'addressbookQort-' + this.bookQortalAddress
|
||||
const addressToRemove = adressObj
|
||||
const addressToRemove = addressObj
|
||||
this.newQortBookFilter = []
|
||||
this.newQortBookFilter = this.qortBook.filter((item) => item.address !== addressToRemove)
|
||||
const myNewObj = JSON.stringify(this.newQortBookFilter)
|
||||
@ -3159,9 +3159,9 @@ class MultiWallet extends LitElement {
|
||||
this.qortBook = JSON.parse(localStorage.getItem(theQortalAddressBook) || "[]")
|
||||
}
|
||||
|
||||
removeBtcAddress(adressObj) {
|
||||
removeBtcAddress(addressObj) {
|
||||
const theBitcoinAddressBook = 'addressbookBtc-' + this.bookBitcoinAddress
|
||||
const addressToRemove = adressObj
|
||||
const addressToRemove = addressObj
|
||||
this.newBtcBookFilter = []
|
||||
this.newBtcBookFilter = this.btcBook.filter((item) => item.address !== addressToRemove)
|
||||
const myNewObj = JSON.stringify(this.newBtcBookFilter)
|
||||
@ -3170,9 +3170,9 @@ class MultiWallet extends LitElement {
|
||||
this.btcBook = JSON.parse(localStorage.getItem(theBitcoinAddressBook) || "[]")
|
||||
}
|
||||
|
||||
removeLtcAddress(adressObj) {
|
||||
removeLtcAddress(addressObj) {
|
||||
const theLitecoinAddressBook = 'addressbookLtc-' + this.bookLitecoinAddress
|
||||
const addressToRemove = adressObj
|
||||
const addressToRemove = addressObj
|
||||
this.newLtcBookFilter = []
|
||||
this.newLtcBookFilter = this.ltcBook.filter((item) => item.address !== addressToRemove)
|
||||
const myNewObj = JSON.stringify(this.newLtcBookFilter)
|
||||
@ -3181,9 +3181,9 @@ class MultiWallet extends LitElement {
|
||||
this.ltcBook = JSON.parse(localStorage.getItem(theLitecoinAddressBook) || "[]")
|
||||
}
|
||||
|
||||
removeDogeAddress(adressObj) {
|
||||
removeDogeAddress(addressObj) {
|
||||
const theDogecoinAddressBook = 'addressbookDoge-' + this.bookDogecoinAddress
|
||||
const addressToRemove = adressObj
|
||||
const addressToRemove = addressObj
|
||||
this.newDogeBookFilter = []
|
||||
this.newDogeBookFilter = this.dogeBook.filter((item) => item.address !== addressToRemove)
|
||||
const myNewObj = JSON.stringify(this.newDogeBookFilter)
|
||||
@ -3192,9 +3192,9 @@ class MultiWallet extends LitElement {
|
||||
this.dogeBook = JSON.parse(localStorage.getItem(theDogecoinAddressBook) || "[]")
|
||||
}
|
||||
|
||||
removeDgbAddress(adressObj) {
|
||||
removeDgbAddress(addressObj) {
|
||||
const theDigibyteAddressBook = 'addressbookDgb-' + this.bookDigibyteAddress
|
||||
const addressToRemove = adressObj
|
||||
const addressToRemove = addressObj
|
||||
this.newDgbBookFilter = []
|
||||
this.newDgbBookFilter = this.dgbBook.filter((item) => item.address !== addressToRemove)
|
||||
const myNewObj = JSON.stringify(this.newDgbBookFilter)
|
||||
@ -3203,9 +3203,9 @@ class MultiWallet extends LitElement {
|
||||
this.dgbBook = JSON.parse(localStorage.getItem(theDigibyteAddressBook) || "[]")
|
||||
}
|
||||
|
||||
removeRvnAddress(adressObj) {
|
||||
removeRvnAddress(addressObj) {
|
||||
const theRavencoinAddressBook = 'addressbookRvn-' + this.bookRavencoinAddress
|
||||
const addressToRemove = adressObj
|
||||
const addressToRemove = addressObj
|
||||
this.newRvnBookFilter = []
|
||||
this.newRvnBookFilter = this.rvnBook.filter((item) => item.address !== addressToRemove)
|
||||
const myNewObj = JSON.stringify(this.newRvnBookFilter)
|
||||
@ -3214,9 +3214,9 @@ class MultiWallet extends LitElement {
|
||||
this.rvnBook = JSON.parse(localStorage.getItem(theRavencoinAddressBook) || "[]")
|
||||
}
|
||||
|
||||
removeArrrAddress(adressObj) {
|
||||
removeArrrAddress(addressObj) {
|
||||
const thePiratechainAddressBook = 'addressbookArrr-' + this.bookPiratechainAddress
|
||||
const addressToRemove = adressObj
|
||||
const addressToRemove = addressObj
|
||||
this.newArrrBookFilter = []
|
||||
this.newArrrBookFilter = this.arrrBook.filter((item) => item.address !== addressToRemove)
|
||||
const myNewObj = JSON.stringify(this.newArrrBookFilter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user