From 58d489054e7cd24c2c173de15b8748c998ddca23 Mon Sep 17 00:00:00 2001 From: CalDescent <> Date: Sun, 27 Feb 2022 10:48:00 +0000 Subject: [PATCH] Fixed console errors on publish screen --- qortal-ui-plugins/plugins/core/qdn/publish/publish.src.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 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 4287831f..8caa1e43 100644 --- a/qortal-ui-plugins/plugins/core/qdn/publish/publish.src.js +++ b/qortal-ui-plugins/plugins/core/qdn/publish/publish.src.js @@ -94,7 +94,7 @@ class PublishData extends LitElement { this.goBack()} class="address-bar-button">arrow_back_ios Back -
+

Publish / Update ${this.category}

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.

@@ -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)