From fc6496d685a1dd505452f3d389b54b37ed7fc286 Mon Sep 17 00:00:00 2001 From: AlphaX-Projects <77661270+AlphaX-Projects@users.noreply.github.com> Date: Thu, 3 Mar 2022 16:58:40 +0100 Subject: [PATCH] Update --- .../plugins/core/qdn/publish/publish.src.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qortal-ui-plugins/plugins/core/qdn/publish/publish.src.js b/qortal-ui-plugins/plugins/core/qdn/publish/publish.src.js index 5e03193a..3731cdd8 100644 --- a/qortal-ui-plugins/plugins/core/qdn/publish/publish.src.js +++ b/qortal-ui-plugins/plugins/core/qdn/publish/publish.src.js @@ -24,7 +24,7 @@ class PublishData extends LitElement { showIdentifier: { type: Boolean }, serviceLowercase: { type: String }, names: { type: Array }, - registeredName: { type: String }, + myRegisteredName: { type: String }, selectedName: { type: String }, path: { type: String }, portForwardingEnabled: { type: Boolean }, @@ -102,8 +102,8 @@ class PublishData extends LitElement {

this.selectName(e)} style="min-width: 130px; max-width:100%; width:100%;"> - - ${this.registeredName} + + ${this.myRegisteredName}

${this.renderUploadField()} @@ -417,7 +417,7 @@ class PublishData extends LitElement { // Default to true so the message doesn't appear and disappear quickly this.portForwardingEnabled = true this.names = [] - this.registeredName = '' + this.myRegisteredName = '' this.selectedName = 'invalid' this.path = '' this.successMessage = '' @@ -434,7 +434,7 @@ class PublishData extends LitElement { setTimeout(() => { this.names = res if (res[0] != null) { - this.registeredName = res[0].name; + this.myRegisteredName = res[0].name; } }, 1) }) @@ -450,7 +450,7 @@ class PublishData extends LitElement { this.portForwardingEnabled = (res.inboundConnections != null && res.inboundConnections > 0); }, 1) }) - setTimeout(fetchNames, this.config.user.nodeSettings.pingInterval) + setTimeout(fetchPeersSummary, this.config.user.nodeSettings.pingInterval) } let configLoaded = false @@ -498,8 +498,8 @@ class PublishData extends LitElement { } selectName(e) { - const name = this.shadowRoot.getElementById('registeredName').value - this.selectedName = name + let name = this.shadowRoot.getElementById('registeredName') + this.selectedName = (name.value) } getApiKey() {