4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

Fixed console errors on publish screen

This commit is contained in:
CalDescent 2022-02-27 10:48:00 +00:00
parent e2889f75e8
commit 58d489054e

View File

@ -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>
</div>
<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>
<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>
@ -432,7 +432,9 @@ class PublishData extends LitElement {
setTimeout(() => {
this.names = res
this.registeredName = res[0].name;
if (res[0] != null) {
this.registeredName = res[0].name;
}
}, 1)
})
setTimeout(fetchNames, this.config.user.nodeSettings.pingInterval)