Browse Source

back to 42

pull/1/head
AlphaX-Projects 3 years ago committed by GitHub
parent
commit
5933f4aea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      qortal-ui-plugins/plugins/core/qdn/websites.src.js

6
qortal-ui-plugins/plugins/core/qdn/websites.src.js

@ -113,6 +113,8 @@ class Websites extends LitElement {
img { img {
border-radius: 25%; border-radius: 25%;
width: 42px;
height: 42px;
} }
` `
} }
@ -322,7 +324,7 @@ class Websites extends LitElement {
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node] const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node]
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
const url = `${nodeUrl}/arbitrary/THUMBNAIL/${name}/qortal_avatar?apiKey=${this.getApiKey()}`; const url = `${nodeUrl}/arbitrary/THUMBNAIL/${name}/qortal_avatar?apiKey=${this.getApiKey()}`;
return html`<img src="${url}" style="width:100%; height:100%;" onerror="this.onerror=null; this.src='/img/incognito.png';">` return html`<img src="${url}" onerror="this.onerror=null; this.src='/img/incognito.png';">`
} }
renderSearchName(searchObj) { renderSearchName(searchObj) {
@ -467,7 +469,7 @@ class Websites extends LitElement {
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node] const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node]
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
const url = `${nodeUrl}/arbitrary/THUMBNAIL/${name}/qortal_avatar?apiKey=${this.getApiKey()}`; const url = `${nodeUrl}/arbitrary/THUMBNAIL/${name}/qortal_avatar?apiKey=${this.getApiKey()}`;
return html`<img src="${url}" style="width:100%; height:100%;" onerror="this.onerror=null; this.src='/img/incognito.png';">` return html`<img src="${url}" nerror="this.onerror=null; this.src='/img/incognito.png';">`
} }
renderRelayModeText() { renderRelayModeText() {

Loading…
Cancel
Save