Browse Source

Fixed console errors on publish screen

qdn-metadata
CalDescent 3 years ago
parent
commit
58d489054e
  1. 6
      qortal-ui-plugins/plugins/core/qdn/publish/publish.src.js

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

@ -94,7 +94,7 @@ class PublishData extends LitElement {
<mwc-button @click=${() => this.goBack()} class="address-bar-button"><mwc-icon>arrow_back_ios</mwc-icon> Back</mwc-button> <mwc-button @click=${() => this.goBack()} class="address-bar-button"><mwc-icon>arrow_back_ios</mwc-icon> Back</mwc-button>
</div> </div>
<paper-card style="width:100%; max-width:740px;"> <paper-card style="width:100%; max-width:740px;">
<div style="background-color: ${this.selectedAddress.color}; margin:0; margin-top:20px; color: ${this.textColor(this.selectedAddress.textColor)};"> <div style="margin:0; margin-top:20px;">
<h3 style="margin:0; padding:8px 0; text-transform:capitalize;">Publish / Update ${this.category}</h3> <h3 style="margin:0; padding:8px 0; text-transform:capitalize;">Publish / Update ${this.category}</h3>
<p style="font-style:italic; font-size:14px;" ?hidden="${this.portForwardingEnabled}">Note: it is recommended that you set up port forwarding before hosting data, so that it can more easily accessed by peers on the network.</p> <p style="font-style:italic; font-size:14px;" ?hidden="${this.portForwardingEnabled}">Note: it is recommended that you set up port forwarding before hosting data, so that it can more easily accessed by peers on the network.</p>
</div> </div>
@ -432,7 +432,9 @@ class PublishData extends LitElement {
setTimeout(() => { setTimeout(() => {
this.names = res this.names = res
this.registeredName = res[0].name; if (res[0] != null) {
this.registeredName = res[0].name;
}
}, 1) }, 1)
}) })
setTimeout(fetchNames, this.config.user.nodeSettings.pingInterval) setTimeout(fetchNames, this.config.user.nodeSettings.pingInterval)

Loading…
Cancel
Save